Use the -l option to display information about physical and logical logs.
IBM Informix Dynamic Server Version 10.00.UC1 -- On-Line -- Up 03:55:32 -- 15360 Kbytes Physical Logging Buffer bufused bufsize numpages numwrits pages/io P-1 0 16 716 55 13.02 phybegin physize phypos phyused %used 1:263 500 270 0 0.00 Logical Logging Buffer bufused bufsize numrecs numpages numwrits recs/pages pages/io L-3 0 16 42169 2872 1043 14.7 2.8 Subsystem numrecs Log Space used OLDRSAM 42169 4436496 address number flags uniqid begin size used %used a517f70 1 U-B---- 1 1:763 500 500 100.00 a517fb0 2 U-B---- 2 1:1263 500 500 100.00 a40daf0 3 U-B---- 3 1:1763 500 500 100.00 a40db30 4 U-B---- 4 1:2263 500 500 100.00 a40db70 5 U-B---- 5 1:2763 500 500 100.00 a40dbb0 6 U---C-L 6 1:3263 500 372 74.40 a40dbf0 7 A------ 0 1:3763 500 0 0.00 a40dc30 8 A------ 0 1:4263 500 0 0.00 8 active, 8 total
You can interpret output from this option as follows. The first section of the display describes the physical-log configuration:
This value indicates how effectively physical-log writes are being buffered.
The second section of the onstat -l display describes the logical-log configuration:
You cannot affect this value. Different types of operations generate different types (and sizes) of records.
You can affect this value by changing the size of the logical-log buffer (specified as LOGBUFF in the ONCONFIG file) or by changing the logging mode of the database (from buffered to unbuffered, or vice versa).
The following fields are repeated for each logical-log file:
The logid numbers might be out of sequence because either the database server or administrator can insert a log file in-line.
To drop the log file and free its space for reuse, you must perform a level-0 backup of all storage spaces
The database server uses temporary logical logs during a warm restore because the permanent logs are not available then. The following fields are repeated for each temporary logical-log file: