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: > btree pages in cache

Posted By: Michael Mueller
Date: Monday, 14 February 2005, at 5:35 a.m.

In Response To: RE: > btree pages in cache (Willem Roos)

Willem,

This is a general problem with the new btree scanner. It causes a lot of
i/o. There are a few things to you can do to soften it's impact. But
each has it's down side.

1) Turn off the btree scanner at certain times and let it run when the
load is low (onmode -C start/stop <n>).

For mass deletes of contiguous key ranges with following reinserts of
the same keys this can cause a performance problem and you have to clean
your index as soon as possible. But maybe you don't do that.

2) Set the cleaning threshold higher (onmode -C threshold <size>).

Same drawback as in 1).

3) Use range scans (works for detached indexes only, onmode -C rangesize
<size>).

This is supposed to do lite scans without buffer pool involvement.
Unfortunately there is a bug that prevents that and every page is read
twice. It should get fixed in 7.31.UD9.

Michael


Willem Roos wrote:
> Hi Robert,
>
> Thank you for your reply.
>
> Buffer related configuration (i might miss some & probably there are some extra):
>
> ---- 8< ----
> BUFFERS 425000 # Maximum number of shared buffers
> NUMAIOVPS 64 # Number of IO vps
> PHYSBUFF 64 # Physical log buffer size (Kbytes)
> LOGBUFF 32 # Logical log buffer size (Kbytes)
> CLEANERS 128 # Number of buffer cleaner processes
> CKPTINTVL 120 # Check point interval (in sec)
> LRUS 128 # Number of LRU queues
> LRU_MAX_DIRTY 2 # LRU percent dirty begin cleaning limit
> LRU_MIN_DIRTY 1 # LRU percent dirty end cleaning limit
> ---- 8< ----
>
> This instance has 155 chunks on cooked file space.
>
> The engine has been restarted (production unfortunately takes precedence over my personal academic interests :-) but after +- 1 hour all symptoms are back in all their glory.
>
> 'onmode -C clean' shows that deletes are occurring on the tables whose indexes take up most of the cache.
>
> I'll appreciate info on how to tune this (just up the number of threads?). I realize it'll be in the manual but this is production and bedtime (for reading) is still a few hours away :-)
>
> Here's some more info:
> ---- 8< ----
> $ onstat -C prof
>
> IBM Informix Dynamic Server Version 7.31.UD8 -- On-Line (Prim) -- Up 01:19:15 -- 2158512 Kbytes
>
> Btree Cleaner Info
> BT scanner profile Information
> ==============================
> Active Threads 1
> Global Commands 0
> Number of partition scans 593
> Main Block 0xb0f8fab8
> BTC Admin 0x00000000
>
>
> BTS info id Prio Partnum Key Cmd
> 0xb0f8fc80 0 Low 0x00C00002 1 100000 Scan index
> Number of leaves pages scanned 3668034
> Number of leaves with deleted items 4468
> Time spent cleaning (sec) 1412
> Number of index compresses 1165
> Number of deleted items 288013
> Number of index range scans 0
> Number of index leaf scans 528
> Scan Type Leaf
> ---- 8< ----
>
> Thanks & regards,
>
>
>>-----Original Message-----
>>From: Robert Seifert [mailto:robert.seifert@de.ibm.com]
>>Sent: 10 February 2005 13:02
>>To: Willem Roos
>>Cc: ids@iiug.org
>>Subject: Re: > btree pages in cache [4224]
>>
>>Hi Willem,
>>
>>Please let us know the output of 'onstat -R' which shows the
>>status of LRU
>>queues.
>>What's the current buffer related configuration?
>>In general I suspect that this might be caused by btree
>>scanner activity in
>>status cleaning index of mentioned table(s) which might have attached
>>indices.
>>You will be able to monitor the btree scanner activity with 'onstat -C
>>[options]'.
>>Tuning could be done by 'onmode -C [options]', but as always
>>this should be
>>tested before applying productive.
>>The default configuration is one running btree scanner in low mode.
>>Depending on workload, database configuration and btree
>>related status of
>>tables this probably needs to be tuned.
>>The btree scanner has been introduced with 7.31.UD8 to do
>>same job as btree
>>cleaner did in ealier 7.31 releases.
>>Please have a look for 7.31.UD8 release notes Chapter IV,
>>Section A for
>>more details:
>>
>>http://www-306.ibm.com/software/data/informix/pubs/libary/note
>>s/relnotes/rn_7.31.ud8.html#Btree
>>
>>You could monitor current btree scanner clean activity by
>>using command
>> onstat -C clean [-r] | egrep 'C'.
>>
>>The output of 'onstat -C hot ' shows the hotlist which will
>>be done by the
>>btree scanner. The last asteric at the end of a line shows on which
>>position in the list the btree scanner is or was currently
>>working on...
>>
>>
>>HTH,
>>
>>Robert
>>
>>Robert Seifert
>>_________________________________________________________________
>>IBM Deutschland GmbH, Data Management Solutions, Software,
>>Informix Products, Advanced Support
>>
>>Elite VAR support engineer
>>Development Support for IBM Informix Products on-site @ SAP
>>c/o SAP AG, -TechDev05-,Neurottstrasse 16, D-69190 Walldorf, Germany
>>
>>Phone +49-6227-7-45713, Fax +49-6227-7-47147
>>mailto:robert.seifert@de.ibm.com or mailto:robert.seifert@sap.com
>>http://www.ibm.com/software/data/informix
>>
>>
>>forum.subscriber@iiug.org wrote on 10.02.2005 08:15:36:
>>
>>
>>>Hi list,
>>>
>>>I have an excessive # of btree pages in cache (on 7.31.UD8,
>>
>>AIX 5.2).
>>
>>>onstat -P shows:
>>>
>>>---- 8< ----
>>>Percentages:
>>>Data 19.76
>>>Btree 78.54
>>>Other 1.70
>>>---- 8< ----
>>>
>>>I have TBLSPACE_STATS switched on in $ONCONFIG. Does anyone
>>
>>have an idea
>>
>>>how i can tie up a session with pages in cache. Eg, i have
>>
>>a script that
>>
>>>will map partnum (from onstat -P) to table names (via
>>
>>oncheck -pt) like
>>
>>>below. Now i need a way to see who is accessing which
>>
>>table. I'm using
>>
>>>syssqexplain (columns sqx_sqlstatement and sqx_estcost) in
>>
>>sysmaster but
>>
>>>i'm not sure if a) i'm interpreting it correctly, b) it's
>>
>>telling me the
>>
>>>truth, c) i'm barking up the correct tree.
>>>
>>>Any help/pointers appreciated.
>>>
>>>Here's my script output, you'll see table
>>
>>corp_p_db:t150_range owns 21%
>>
>>>of cache, etc. So how is using this table?
>>>
>>>---- 8< ----
>>>Cache statistics:
>>>
>>
>>--------------------------------------------------------------
>>----------
>>
>>>--------
>>>dskreads pagreads bufreads Êched dskwrits pagwrits bufwrits Êched
>>>51445307 103093471 2397742886 97.85 2894015 6230366
>>
>>232509393 98.76
>>
>>>Finding partition pages in buffer pool...
>>>Database Table + Total % Btree %
>>
>>Data % Dirty
>>
>>>%
>>>
>>
>>--------------------------------------------------------------
>>----------
>>
>>>--------
>>>corp_p_db t150_range + 91874 21 91872 33
>>
>> 2 0 0
>>
>>>0
>>>corp_p_db t414_sellpriceins - 85702 20 1040 0
>>
>>84662 57 30
>>
>>>16
>>>corp_p_db t415_itemsellprce + 33615 7 0 0
>>
>>33614 22 0
>>
>>>0
>>>corp_p_db t168_locdepotitem = 29035 6 29035 10
>>
>> 0 0 0
>>
>>>0
>>>corp_p_db t415_itemsellprce = 13275 3 13275 4
>>
>> 0 0 0
>>
>>>0
>>>corp_p_db t415_itemsellprce + 12972 3 12972 4
>>
>> 0 0 0
>>
>>>0
>>>corp_p_db t168_locdepotitem + 10158 2 10158 3
>>
>> 0 0 0
>>
>>>0
>>>corp_p_db t318_orderpack = 9314 2 9314 3
>>
>> 0 0 0
>>
>>>0
>>>corp_p_db t150_range - 6734 1 6734 2
>>
>> 0 0 0
>>
>>>0
>>>corp_p_db t173_depitemprof = 6255 1 6255 2
>>
>> 0 0 0
>>
>>>0
>>>corp_p_db t856_eventhandler - 6085 1 0 0
>>
>>6084 4 2
>>
>>>1
>>>corp_p_db t800_slbrnitemstat = 6073 1 6070 2
>>
>> 0 0 0
>>
>>>0
>>>corp_p_db t318_orderpack + 5872 1 5872 2
>>
>> 0 0 0
>>
>>>0
>>>corp_p_db t415_itemsellprce = 5649 1 5649 2
>>
>> 0 0 0
>>
>>>0
>>>corp_p_db t168_locdepotitem + 5507 1 5507 2
>>
>> 0 0 0
>>
>>>0
>>>corp_p_db t415_itemsellprce = 5432 1 5432 2
>>
>> 0 0 0
>>
>>>0
>>>corp_p_db t168_locdepotitem = 4759 1 4759 1
>>
>> 0 0 0
>>
>>>0
>>>corp_p_db t403_contractitem - 4524 1 1112 0
>>
>>3410 2 7
>>
>>>3
>>>corp_p_db t978_contract - 4399 1 463 0
>>
>>3935 2 0
>>
>>>0
>>>corp_p_db t168_locdepotitem + 4278 1 0 0
>>
>>4278 2 8
>>
>>>4
>>>corp_p_db t168_locdepotitem + 3997 0 3993 1
>>
>> 0 0 7
>>
>>>3
>>> <...lots more go here...>
>>>
>>--------------------------------------------------------------
>>----------
>>
>>>--------
>>> Totals: 425000 -- 270678 63
>>
>>147167 34 180
>>
>>>0
>>>
>>>------
>>> Willem Roos
>>> "Per sercas vi malkovri" - JS Bach (freely translated)
>>>
>>>Disclaimer
>>>http://www.shoprite.co.za/disclaimer.html
>>>
>>>
>>
>>
> Disclaimer
> http://www.shoprite.co.za/disclaimer.html
>
>
>





Messages In This Thread

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

IDS Forum is maintained by Administrator with WebBBS 5.12.