Join IIUG
 for   
 

Informix News
18 Nov 13 - ZDNet - Top 20 mobile skills in demand... Read
09 Sep 13 - telecompaper - Shaspa and Tatung have shown a new smart home platform at Ifa in Berlin. Powered by the IBM Informix software... Read
06 Sep 13 - IBM data magazine - Mission Accomplished - Miami, Florida will be the backdrop for the 2014 IIUG Informix Conference... Read
01 Feb 13 - IBM Data Magazine - Are your database backups safe? Lester Knutsen (IBM Champion) writes about database back up safety using "archecker"... Read
14 Nov 12 - IBM - IBM's Big Data For Smart Grid Goes Live In Texas... Read
3 Oct 12 - The Financial - IBM and TransWorks Collaborate to Help Louisiana-Pacific Corporation Achieve Supply Chain Efficiency... Read
28 Aug 12 - techCLOUD9 - Splunk kicks up a SaaS Storm... Read
10 Aug 12 - businessCLOUD9 - Is this the other half of Cloud monitoring?... Read
3 Aug 12 - IBM data management - Supercharging the data warehouse while keeping costs down IBM Informix Warehouse Accelerator (IWA) delivers superior performance for in-memory analytics processing... Read
2 Aug 12 - channelbiz - Oninit Group launches Pay Per Pulse cloud-based service... Read
28 May 12 - Bloor - David Norfolk on the recent Informix benchmark "pretty impressive results"... Read
23 May 12 - DBTA - Informix Genero: A Way to Modernize Informix 4GL Applications... Read
9 Apr 12 - Mastering Data Management - Upping the Informix Ante: Advanced Data Tools... Read
22 Mar 12 - developerWorks - Optimizing Informix database access... Read
14 Mar 12 - BernieSpang.com - International Informix User Group set to meet in San Diego... Read
1 Mar 12 - IBM Data Management - IIUG Heads West for 2012 - Get ready for sun and sand in San Diego... Read
1 Mar 12 - IBM Data Management - Running Informix on Solid-State Drives.Speed Up Database Access... Read
26 Feb 12 - BernieSpan.com - Better results, lower cost for a broad set of new IBM clients and partners... Read
24 Feb 12 - developerWorks - Informix Warehouse Accelerator: Continuous Acceleration during Data Refresh... Read
6 Feb 12 - PRLOG - Informix port delivers unlimited database scalability for popular SaaS application ... Read
2 Feb 12 - developerWorks - Loading data with the IBM Informix TimeSeries Plug-in for Data Studio... Read
1 Feb 12 - developerWorks - 100 Tech Tips, #47: Log-in to Fix Central... Read
13 Jan 12 - MC Press online - Informix Dynamic Server Entices New Users with Free Production Edition ... Read
11 Jan 12 - Computerworld - Ecologic Analytics and Landis+Gyr -- Suitors Decide to Tie the Knot... Read
9 Jan 12 - planetIDS.com - DNS impact on Informix / Impacto do DNS no Informix... Read
8 Sep 11 - TMCnet.com - IBM Offers Database Solution to Enable Smart Meter Data Capture... Read
1 Aug 11 - IBM Data Management Magazine - IIUG user view: Happy 10th anniversary to IBM and Informix... Read
8 Jul 11 - Database Trends and Applications - Managing Time Series Data with Informix... Read
31 May 11 - Smart Grid - The meter data management pitfall utilities are overlooking... Read
27 May 11 - IBM Data Management Magazine - IIUG user view: Big data, big time ( Series data, warehouse acceleration, and 4GLs )... Read
16 May 11 - Business Wire - HiT Software Announces DBMoto for Enterprise Integration, Adds Informix. Log-based Change Data Capture... Read
21 Mar 11 - Yahoo! Finance - IBM and Cable&Wireless Worldwide Announce UK Smart Energy Cloud... Read
14 Mar 11 - MarketWatch - Fuzzy Logix and IBM Unveil In-Database Analytics for IBM Informix... Read
11 Mar 11 - InvestorPlace - It's Time to Give IBM Props: How many tech stocks are up 53% since the dot-com boom?... Read
9 Mar 11 - DBTA - Database Administration and the Goal of Diminishing Downtime... Read
2 Feb 11 - DBTAs - Informix 11.7 Flexible Grid Provides a Different Way of Looking at Database Servers... Read
27 Jan 11 - exactsolutions - Exact to Add Informix Support to Database Replay, SQL Monitoring Solutions... Read
25 Jan 11 - PR Newswire - Bank of China in the UK Works With IBM to Become a Smarter, Greener Bank... Read
12 Oct 10 - Database Trends and Applications - Informix 11.7: The Beginning of the Next Decade of IBM Informix... Read
20 Sep 10 - planetIDS.com - ITG analyst paper: Cost/Benefit case for IBM Informix as compared to Microsoft SQL Server... Read
20 Jul 10 - IBM Announcements - IBM Informix Choice Edition V11.50 helps deploy low-cost scalable and reliable solutions for Apple Macintosh and Microsoft Windows... Read
20 Jul 10 - IBM Announcements - Software withdrawal: Elite Support for Informix Ultimate-C Edition... Read
24 May 10 - eWeek Europe - IBM Supplies Database Tech For EU Smart Grid... Read
23 May 10 - SiliconIndia - IBM's smart metering system allows wise use of energy... Read
21 May 10 - CNET - IBM to help people monitor energy use... Read
20 May 10 - ebiz - IBM Teams With Hildebrand To Bring Smart Metering To Homes Across Britain... Read
19 May 10 - The New Blog Times - Misurare il consumo energetico: DEHEMS è pronto... Read
19 May 10 - ZDNet - IBM software in your home? Pact enables five-city smart meter pilot in Europe... Read
17 March 10 - ZDNet (blog) David Morgenstern - TCO: New research finds Macs in the enterprise easier, cheaper to manage than... Read
17 March 2010 - Virtualization Review - ...key components of Big Blue's platform to the commercial cloud such as its WebSphere suite of application ser vers and its DB2 and Informix databases... Read
10 February 2010 - The Wall Street Journal - International Business Machines is expanding an initiative to win over students and professors on its products. How do they lure the college crowd?... Read


End of Support Dates

IIUG on Facebook IIUG on Twitter

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum

Re: Config

Posted By: Art Kagel
Date: Friday, 17 September 2010, at 4:30 p.m.

In Response To: Config (BRIAN FOSTER)

Just glancing, but your BTR looks a little high. Some config suggestions
below.

Art

Art S. Kagel
Advanced DataTools (www.advancedatatools.com)
IIUG Board of Directors (art@iiug.org)

Disclaimer: Please keep in mind that my own opinions are my own opinions and
do not reflect on my employer, Advanced DataTools, the IIUG, nor any other
organization with which I am associated either explicitly, implicitly, or by
inference. Neither do those opinions reflect those of other individuals
affiliated with any entity with which I am affiliated nor those of the
entities themselves.

On Fri, Sep 17, 2010 at 3:45 PM, BRIAN FOSTER <bfoster@manning-napier.com>wrote:

> I am doing an intial tune for a new instance of 11.5 64bit. All of our
> previous instances have been 32bit so I am unsure about my current shared
>
> memory config... do I have too many buffers? I am also wondering whether I
> can
> safely add 1 or more CPU VP's.
> The stats seem pretty good to me but I guess I expected more oomph
> (upgrading
> from 9.4 32 bit on 5 year old metal).
> Any suggestions greatly appreciated!
>
> -Brian
>
> OLTP Environment: IBM Blade 7778-23x, AIX 5.3, KAIO enabled
> (IFMX_AIXKAIO_NUM_REQ 4096) with raw vg's over EMC san, 32GB RAM, Informix
> 11.5
>
> (workgroup), 4 physical (8 logical) cpus.
>
> ###################################################################
> Config
> ###################################################################
> ROOTNAME rootdbs # Root dbspace name
> ROOTPATH /dev/lrootchk1prod # Path for device containing root dbspace
> ROOTOFFSET 0 # Offset of root dbspace into device (Kbytes)
> ROOTSIZE 20971520
>
> MIRROR 0
> MIRRORPATH $INFORMIXDIR/tmp/demo_on.root_mirror
> MIRROROFFSET 0
>
> ###################################################################
> # Physical Log Configuration Parameters
> ###################################################################
> PHYSFILE 1048576
> PLOG_OVERFLOW_PATH $INFORMIXDIR/tmp
> PHYSBUFF 256
>
> ###################################################################
> # Logical Log Configuration Parameters
> ###################################################################
> LOGFILES 104
> LOGSIZE 256000
> DYNAMIC_LOGS 2
> LOGBUFF 256
>
> ###################################################################
> # Long Transaction Configuration Parameters
> ###################################################################
> LTXHWM 80
> LTXEHWM 85
>
> ###################################################################
> # Tblspace Configuration Parameters
> ###################################################################
> TBLTBLFIRST 0
> TBLTBLNEXT 0
> TBLSPACE_STATS 1
>
> ###################################################################
> # Temporary dbspace and sbspace Configuration Parameters
> ###################################################################
> DBSPACETEMP tempdbs
>

Configure at least two more temp dbspaces

> SBSPACETEMP
>
> ###################################################################
> # Dbspace and sbspace Configuration Parameters
> ###################################################################
> SBSPACENAME
> SYSSBSPACENAME
> ONDBSPACEDOWN 2
>
> ###################################################################
> # System Configuration Parameters
> ###################################################################
> SERVERNUM 30
> DBSERVERNAME crocodile_shm
> DBSERVERALIASES crocodile_tcp,crocodile_net
>
> ###################################################################
> # Network Configuration Parameters
> ###################################################################
> NETTYPE ipcshm,1,50,CPU
>

You should have one SHM listener per CPU VP if this connection is used for
serious queries. I would use two if its just for maintenance in case one
hangs.
You should have a NETTYPE setup explicitely for the _tcp and _net
connections with two listeners in NET VPs.

> LISTEN_TIMEOUT 60
> MAX_INCOMPLETE_CONNECTIONS 1024
> FASTPOLL 1
>
> ###################################################################
> # CPU-Related Configuration Parameters
> ###################################################################
> ###################################################################
>
> MULTIPROCESSOR 1
>
> # CPU VP's cannot exceed # physical cpu's. Generally set to #cpu-1
> VPCLASS cpu,num=3,max=6,noage
>

With 8 cores as fast as these, I would go with 8-16 CPU VPs.

>
> VP_MEMORY_CACHE_KB 4096
> SINGLE_CPU_VP 0
>
> ###################################################################
> # AIO and Cleaner-Related Configuration Parameters
> ###################################################################
> #VPCLASS aio,num=1
> CLEANERS 12
> AUTO_AIOVPS 1
> DIRECT_IO 0
>
> ###################################################################
> # Lock-Related Configuration Parameters
> ###################################################################
> LOCKS 2000000
> DEF_TABLE_LOCKMODE page
>
> ###################################################################
> # Shared Memory Configuration Parameters
> ###################################################################
> RESIDENT -1
> SHMBASE 0x700000000000000L
> SHMVIRTSIZE 3103785
> SHMADD 3103785
> EXTSHMADD 8192
> SHMTOTAL 0
> SHMVIRT_ALLOCSEG 0,3
> SHMNOACCESS
>
> ###################################################################
> # Checkpoint and System Block Configuration Parameters
> ###################################################################
> CKPTINTVL 9999
> AUTO_CKPTS 1
> RTO_SERVER_RESTART 0
> BLOCKTIMEOUT 3600
>
> ###################################################################
> # Transaction-Related Configuration Parameters
> ###################################################################
> TXTIMEOUT 300
> DEADLOCK_TIMEOUT 60
> HETERO_COMMIT 0
>
> ###################################################################
> # Data Dictionary Cache Configuration Parameters
> ###################################################################
> DD_HASHSIZE 67
> DD_HASHMAX 15
>
> ###################################################################
> # Data Distribution Configuration Parameters
> ###################################################################
> DS_HASHSIZE 31
> DS_POOLSIZE 127
>
> ##################################################################
> # User Defined Routine (UDR) Cache Configuration Parameters
> ##################################################################
> PC_HASHSIZE 31
> PC_POOLSIZE 127
>
> ###################################################################
> # SQL Statement Cache Configuration Parameters
> ###################################################################
> STMT_CACHE 0
> STMT_CACHE_HITS 0
> STMT_CACHE_SIZE 512
> STMT_CACHE_NOLIMIT 0
> STMT_CACHE_NUMPOOL 1
>
> ###################################################################
> # Operating System Session-Related Configuration Parameters
> ###################################################################
> USEOSTIME 0
>

Make this '1' if you have any DATETIME YEAR TO FRACTION... columns defined.
It's cheap.

> STACKSIZE 64
> ALLOW_NEWLINE 0
> USELASTCOMMITTED NONE
>
> ###################################################################
> # Index Related Configuration Parameters
> ###################################################################
> FILLFACTOR 90
> MAX_FILL_DATA_PAGES 0
>

Big win to set the above to '1' if you use VARCHAR and LVARCHAR that are
often mostly empty, but the gain will only happen when you reorg the tables.

> BTSCANNER num=1,threshold=5000,rangesize=-1,alice=6,compression=default
> ONLIDX_MAXMEM 5120
>
> ###################################################################
> # Parallel Database Query (PDQ) Configuration Parameters
> ###################################################################
> MAX_PDQPRIORITY 100
> #DS_MAX_QUERIES 20
> DS_TOTAL_MEMORY 2097152
> DS_MAX_SCANS 1048576
> DS_NONPDQ_QUERY_MEM 524288
> DATASKIP
>
> ###################################################################
> # Optimizer Configuration Parameters
> ###################################################################
> OPTCOMPIND 2
>

Should be '0' if this is an OLTP server primarily.

> DIRECTIVES 1
> EXT_DIRECTIVES 0
> OPT_GOAL -1
> IFX_FOLDVIEW 0
> AUTO_REPREPARE 1
>
> ###################################################################
> # Scan Configuration Parameters
> ###################################################################
> RA_PAGES 180
> RA_THRESHOLD 150
>

Wasting buffers and bandwidth. Set the above WAY DOWN to 32 and 4. Really.

> BATCHEDREAD_TABLE 0
>
> ###################################################################
> # SQL Tracing and EXPLAIN Plan Configuration Parameters
> ###################################################################
> EXPLAIN_STAT 1
> #SQLTRACE level=low,ntraces=1000,size=2,mode=global
>
> ###################################################################
> # Buffer pool and LRU Configuration Parameters
> ###################################################################
> BUFFERPOOL
>
> size=4K,buffers=3103785,lrus=12,lru_min_dirty=1.000000,lru_max_dirty=2.000000
>

With non-blocking checkpoints in 11.50, you can set the lru_min/max_dirty up
to 50/60 or at least 25/35 to shift io to more efficient chunk writes
without blocking transactions.

> AUTO_LRU_TUNING 1
>
> ###################################################################
> % onstat -p
> ###################################################################
> IBM Informix Dynamic Server Version 11.50.FC6WE -- On-Line -- Up 1 days
> 21:33:30 -- 16587120 Kbytes
>
> Profile
> dskreads pagreads bufreads %cached dskwrits pagwrits bufwrits %cached
> 25050252 42903133 17322428664 99.86 11797807 17320913 371923242 96.83
>
> isamtot open start read write rewrite delete commit rollbk
> 16580721044 43126325 2377132172 6173143440 148171420 146717322 5645313
> 1564447
> 1
>
> gp_read gp_write gp_rewrt gp_del gp_alloc gp_free gp_curs
> 0 0 0 0 0 0 0
>
> ovlock ovuserthread ovbuff usercpu syscpu numckpts flushes
> 0 0 0 41245.77 1091.88 310 274
>
> bufwaits lokwaits lockreqs deadlks dltouts ckpwaits compress seqscans
> 1100156 0 2644714787 0 0 209 715172 850636
>
> ixda-RA idx-RA da-RA RA-pgsused lchwaits
> 4305155 663440 16050722 21018416 610995
>
> ###################################################################
> % onstat -P
> ###################################################################
> IBM Informix Dynamic Server Version 11.50.FC6WE -- On-Line -- Up 1 days
> 21:33:41 -- 16587120 Kbytes
>
> Buffer pool page size: 4096
> partnum total btree data other dirty
> 0 20 0 19 1 6
> <SNIP/>
> Totals: 3103785 654807 2441597 7381 58478
>
> Percentages:
> Data 78.67
> Btree 21.10
> Other 0.24
>
> ###################################################################
> % onstat -g seg
> ###################################################################
> IBM Informix Dynamic Server Version 11.50.FC6WE -- On-Line -- Up 1 days
> 21:34:07 -- 16587120 Kbytes
>
> Segment Summary:
> id key addr size ovhd class blkused blkfree
> 5242884 52744801 700000000000000 13806354432 162226768 R* 3370689 3
> 2097176 52744802 700000340000000 3178283008 37247344 V* 73230 702718
> 3145754 52744803 700000400000000 573440 7984 M 136 4
> Total: - - 16985210880 - - 3444055 702725
>
> ###################################################################
> % onstat -g iov
> ###################################################################
> IBM Informix Dynamic Server Version 11.50.FC6WE -- On-Line -- Up 1 days
> 21:35:11 -- 16587120 Kbytes
>
> AIO I/O vps:
> class/vp/id s io/s totalops dskread dskwrite dskcopy wakeups io/wup errors
> tempops
> fifo 9 0 i 0.0 0 0 0 0 1 0.0 0 0
> kio -1 0 i 30.2 4951548 2139561 2811987 0 5499369 0.9 0 0
> kio -1 1 i 43.7 7166803 3700399 3466404 0 8486470 0.8 0 0
> kio -1 2 i 40.0 6562036 2731187 3830849 0 6837227 1.0 0 0
> msc 8 0 i 0.0 6516 0 0 0 6324 1.0 0 6516
> aio 7 0 i 0.0 1566 541 142 0 1567 1.0 0 0
> aio 10 1 i 0.0 0 0 0 0 1 0.0 0 0
> pio 6 0 i 0.0 0 0 0 0 1 0.0 0 0
> lio 5 0 i 0.0 0 0 0 0 1 0.0 0
>
>
>
> *******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>

--001636310869ebc31704907a6e39

Messages In This Thread

  • Config
    BRIAN FOSTER -- Friday, 17 September 2010, at 3:45 p.m.
    • Re: Config
      Art Kagel -- Friday, 17 September 2010, at 4:30 p.m.
    • Re: Config
      Obnoxio The Clown -- Friday, 17 September 2010, at 5:32 p.m.

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum is maintained by Administrator with WebBBS 5.12.