Use the -p option to display profile counts either since you started the database server or since you ran onstat with the -z option.
IBM Informix Dynamic Server Version 10.00.UC1 -- On-Line -- Up 03:56:40 -- 15360 Kbytes Profile dskreads pagreads bufreads %cached dskwrits pagwrits bufwrits %cached 939 943 143905 99.35 3925 10816 46919 91.63 isamtot open start read write rewrite delete commit rollbk 100055 15851 16112 24632 13343 1342 1392 905 0 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 12.00 2.69 9 101 bufwaits lokwaits lockreqs deadlks dltouts ckpwaits compress seqscans 8 0 26894 0 0 1 1247 478 ixda-RA idx-RA da-RA RA-pgsused lchwaits 5 0 10 15 23
The first portion of the display describes reads and writes.
Reads and writes are tabulated in three categories: from disk, from buffers, and number of pages (read or written).
The first %cached field is a measure of the number of reads from buffers compared to reads from disk. The second %cached field is a measure of the number of writes to buffers compared to writes to disk.
The database server buffers information and writes to the disk in pages. For this reason, the number of disk writes displayed as dskwrits is usually less than the number of writes that an individual user executes:
100 * (bufreads - dskreads) / bufreads
If bufreads exceeds the maximum integer (or long) value, its internal representation becomes a negative number, but the value appears as 0.0.
This number includes the writes for the physical and logical logs reported in onstat -l.
100 *(bufwrits - dskwrits) / bufwritsThe next portion of the -p display tabulates the number of times different ISAM calls were executed. The calls occur at the lowest level of operation and do not necessarily correspond one-to-one with SQL statement execution. A single query might generate multiple ISAM calls. These statistics are gathered across the database server and cannot be used to monitor activity on a single database unless only one database is active or only one database exists:
No one-to-one correspondence exists between this value and the number of explicit COMMIT WORK statements that are executed.
The next portion of the -p display provides information on generic pages. The Generic Page Manager provides an API for Dynamic Server to manage nonstandard pages in the database server buffer pool. The following table describes the Generic Page Manager fields in the onstat -p output.
The next portion of the -p display tracks the number of times that a resource was requested when none was available:
For more information, see "LOCKS" on page 1-56.
When no buffers are free, the database server writes a dirty buffer to disk and then tries to find a free buffer.
This entry is updated every 15 seconds.
This entry is updated every 15 seconds.
The next portion of the -p display contains miscellaneous information, as follows:
The last portion of the -p display contains the following information:
If this number is significantly less than the total number of pages read ahead, the read-ahead parameters might be set too high.
A large number of latch waits typically results from a high volume of processing activity in which the database server is logging most of the transactions.