Use the -R option to display detailed information about the LRU queues, FLRU queues, and MLRU queues. For an in-depth discussion of the three types of queues, see LRU queues in the shared-memory chapter of the IBM Informix Administrator's Guide.
For each queue, onstat -R lists the number of buffers in the queue and the number and percentage of buffers that have been modified.
IBM Informix Dynamic Server Version 10.00.UC1 -- On-Line -- Up 18:46:59 -- 34816 Kbytes Buffer pool page size: 2048 8 buffer LRU queue pairs priority levels # f/m pair total % of length LOW HIGH 0 f 375 100.0% 375 375 0 1 m 0.0% 0 0 0 2 f 375 100.0% 375 375 0 3 m 0.0% 0 0 0 4 f 375 100.0% 375 375 0 5 m 0.0% 0 0 0 6 F 375 100.0% 375 375 0 7 m 0.0% 0 0 0 8 f 375 100.0% 375 375 0 9 m 0.0% 0 0 0 10 f 375 100.0% 375 375 0 11 m 0.0% 0 0 0 12 f 375 100.0% 375 375 0 13 m 0.0% 0 0 0 14 f 375 100.0% 375 375 0 15 m 0.0% 0 0 0 0 dirty, 3000 queued, 3000 total, 4096 hash buckets, 2048 buffer size start clean at 60.000% (of pair total) dirty, or 226 buffs dirty, stop at 50.000% Buffer pool page size: 8192 4 buffer LRU queue pairs priority levels # f/m pair total % of length LOW HIGH 0 F 250 100.0% 250 250 0 1 m 0.0% 0 0 0 2 f 250 100.0% 250 250 0 3 m 0.0% 0 0 0 4 f 250 100.0% 250 250 0 5 m 0.0% 0 0 0 6 f 250 100.0% 250 250 0 7 m 0.0% 0 0 0 0 dirty, 1000 queued, 1000 total, 1024 hash buckets, 8192 buffer size start clean at 60.000% (of pair total) dirty, or 150 buffs dirty, stop at 50.000%
You can interpret output from this option as follows:
Each LRU queue is composed of two subqueues: an FLRU queue and a MLRU queue. (For a definition of FLRU and MLRU queues, see LRU queues in the shared-memory chapter of the IBM Informix Administrator's Guide.) Thus, queues 0 and 1 belong to the first LRU queue, queues 2 and 3 belong to the second LRU queue, and so on.
This field has four possible values:
In this context, free means not modified. Although nearly all the buffers in an LRU queue are available for use, the database server attempts to use buffers from the FLRU queue rather than the MLRU queue. (A modified buffer must be written to disk before the database server can use the buffer.)
The database server uses this estimate to determine where to put unmodified (free) buffers next.
For example, suppose that an LRU queue has 50 buffers, with 30 of those buffers in the MLRU queue and 20 in the FLRU queue. The % of column would list percents of 60.00 and 40.00, respectively.
The -R option also lists the priority levels.
Summary information follows the individual LRU queue information. You can interpret the summary information as follows: