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: onstat -l

Posted By: Tristan Ball
Date: Wednesday, 8 December 2010, at 8:25 p.m.

In Response To: Re: onstat -l (Art Kagel)

I think we're flushing on commits etc, rather than the buffer filling, unless it fills between subsequent calls to onstat - and given the rate of rotation, that's actually possible, but the pages/io implies not?

If we do an insert or update that isn't explicitly wrapped in a transaction, would that also cause a log flush? From the looks of things, we only flush a page or two for each rotation, but we're basically always rotating.

# while /bin/true; do echo ---------------;date; onstat -l |head -20|egrep "(Waiting|ioproc|L-|Logical|recs)"; sleep 0.2;done

---------------

Thu Dec 9 12:17:53 EETDT 2010

Logical Logging

Buffer bufused bufsize numrecs numpages numwrits recs/pages pages/io

L-1 0 16 287931350 16240274 9138448 17.7 1.8

Subsystem numrecs Log Space used

Buffer Waiting

Buffer ioproc flags

L-3 0 0x1 0

---------------

Thu Dec 9 12:17:54 EETDT 2010

Logical Logging

Buffer bufused bufsize numrecs numpages numwrits recs/pages pages/io

L-3 0 16 287931350 16240274 9138448 17.7 1.8

Subsystem numrecs Log Space used

---------------

Thu Dec 9 12:17:54 EETDT 2010

Logical Logging

Buffer bufused bufsize numrecs numpages numwrits recs/pages pages/io

L-1 0 16 287931350 16240274 9138448 17.7 1.8

Subsystem numrecs Log Space used

Buffer Waiting

Buffer ioproc flags

L-3 0 0x1 0

---------------

Thu Dec 9 12:17:54 EETDT 2010

Logical Logging

Buffer bufused bufsize numrecs numpages numwrits recs/pages pages/io

L-1 0 16 287931350 16240274 9138448 17.7 1.8

Subsystem numrecs Log Space used

Buffer Waiting

Buffer ioproc flags

L-3 0 0x1 0

---------------

Thu Dec 9 12:17:54 EETDT 2010

Logical Logging

Buffer bufused bufsize numrecs numpages numwrits recs/pages pages/io

L-1 0 16 287935315 16240912 9139083 17.7 1.8

Subsystem numrecs Log Space used

Buffer Waiting

Buffer ioproc flags

L-3 0 0x1 0

---------------

Thu Dec 9 12:17:54 EETDT 2010

Logical Logging

Buffer bufused bufsize numrecs numpages numwrits recs/pages pages/io

L-2 0 16 287935315 16240912 9139083 17.7 1.8

Subsystem numrecs Log Space used

Buffer Waiting

Buffer ioproc flags

L-1 0 0x1 0

---------------

Thu Dec 9 12:17:55 EETDT 2010

Logical Logging

Buffer bufused bufsize numrecs numpages numwrits recs/pages pages/io

L-1 1 16 287935315 16240912 9139083 17.7 1.8

Subsystem numrecs Log Space used

Buffer Waiting

Buffer ioproc flags

L-3 0 0x1 0

-----Original Message-----
From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of Art Kagel
Sent: Thursday, 9 December 2010 10:05 AM
To: ids@iiug.org
Subject: Re: onstat -l [22171]

Logical log bufers are flushed when they fill if the database containing all of the transactions in the buffer uses buffered logging and either when they fill or when a commit or rollback is written to the log if the database to which the commit/rollback belongs uses unbuffered logging. Onstat -l will show you the percent full of the log buffer and the number of pages flushed to the buffer on average. If the full percentage is close to 100% or the number of pages flushed to the logical logs per io is close to the size of the log buffers, you may need to increase the logical log buffer size. It should be a bit larger than say two average sized transactions as a rule of thumb.

Art S. Kagel

Advanced DataTools (www.advancedatatools.com<http://www.advancedatatools.com>) IIUG Board of Directors (art@iiug.org<mailto:art@iiug.org>)

Blog: http://informix-myview.blogspot.com/

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 Wed, Dec 8, 2010 at 4:41 PM, Tristan Ball <tristanb@pronto.com.au<mailto:tristanb@pronto.com.au>> wrote:

> Thanks Art.

>

> The service times in iostat -g iof are low, 0.0059, or 0.0060 for the

> logical log chunks.

>

> However we do rotate through the log buffers very quickly, although I

> never see the bufused for the logical log buffers go higher than 2,

> however given the statement/transaction rate on this database is

> fairly high (10k to 100k/sec), and my understanding that the log

> buffers will flush (& rotate?) on commit/prepare's amoung other

> things, that seems normal.

>

> Given the high rate of rotation on those buffers, I suspect it's

> possible that we're waiting on buffer flushes even with low service

> times from disk.

>

> The root of why I ask is that I'm chasing occasional slow response in

> the application in front of this database, which appears to be

> database related.

> I'm seeing some very high individual statement runtimes in sqltrace

> output, for very simple requests - however apparently our release of

> IDS has bugs with regards to reporting sql trace timings, so I can't

> really trust them.

>

> Thanks again for your time, I think I might log this with IBM and see

> what they say.

>

> Regards,

>

> Tristan

>

> -----Original Message-----

> From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of

> Art Kagel

> Sent: Wednesday, 8 December 2010 12:59 PM

> To: ids@iiug.org

> Subject: Re: onstat -l [22149]

>

> There are three logical log buffers: L-1, L-2, & L-3. The current

> buffer rotates among these three. While one is being written to disk

> the next one is used, etc. I don't remember seeing this output, but it

> may indicate that one or both of the buffers which is not current are

> waiting to be written out.

> This can become a problem if the IO subsystem is so slow that all

> three buffers are full and logical log records must wait to be written

> to a buffer until one can be flushed and released for reuse. What are

> the IO service times reported for the logical log chunk(s) in onstat

> -g iof? If these are high, say over 0.025secs, you may have an IO

> bottleneck on those chunks.

>

> Art

>

> Art S. Kagel

> Advanced DataTools (www.advancedatatools.com<http://www.advancedatatools.com>) IIUG Board of Directors

> (art@iiug.org<mailto:art@iiug.org>)

> Blog: http://informix-myview.blogspot.com/

>

> 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 Tue, Dec 7, 2010 at 6:58 PM, Tristan Ball <tristanb@pronto.com.au<mailto:tristanb@pronto.com.au>>

> wrote:

>

> > I'm seeing a couple of extra lines in the output of 'onstat -l',

> > which I can't find documented in the 11.50 administrators guide and

> > references.

> >

> > The lines in question look like this:

> >

> > Buffer Waiting

> > Buffer ioproc flags

> > L-1 0 0x1 0

> > L-2 0 0x1 0

> >

> > The exact lines varies (L-1 through to L-4 I think), and sometimes

> > the entire block simply isn't there.

> >

> > My naive assumption is that this probably represents a problem, and

> > if something is waiting on buffers long enough for it to show in

> > onstat -l for several seconds at a time?

> >

> > Is anyone familiar with what this actually means?

> >

> > Thanks,

> >

> > Tristan

> >

> >

> >

> >

>

>

>

*******************************************************************************

> > Forum Note: Use "Reply" to post a response in the discussion forum.

> >

> >

>

> --485b393ab8495e10a10496dc775c

>

>

>

>

*******************************************************************************

> Forum Note: Use "Reply" to post a response in the discussion forum.

>

>

>

>

*******************************************************************************

> Forum Note: Use "Reply" to post a response in the discussion forum.

>

>

--20cf30433efe3a60b40496ee2680

*******************************************************************************

Forum Note: Use "Reply" to post a response in the discussion forum.

Messages In This Thread

  • onstat -l
    Tristan Ball -- Tuesday, 7 December 2010, at 6:58 p.m.
    • Re: onstat -l
      Art Kagel -- Tuesday, 7 December 2010, at 8:59 p.m.
      • RE: onstat -l
        Tristan Ball -- Wednesday, 8 December 2010, at 4:41 p.m.
        • Re: onstat -l
          Art Kagel -- Wednesday, 8 December 2010, at 6:05 p.m.
          • RE: onstat -l
            Tristan Ball -- Wednesday, 8 December 2010, at 8:25 p.m.
      • Re: onstat -l
        Fernando Nunes -- Wednesday, 8 December 2010, at 6:19 p.m.
        • RE: onstat -l
          Tristan Ball -- Wednesday, 8 December 2010, at 9:07 p.m.
          • Re: onstat -l
            Fernando Nunes -- Wednesday, 8 December 2010, at 9:44 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.