IBM 000-8697 User Manual

Page of 702
2-64
IBM Informix OnLine Database Server Administrator’s Guide
Physical Log Buffer
Refer to
 for further information about the physical log.
Double Buffering
The physical log buffer is actually two buffers. The size of each buffer is
specified (in kilobytes) by the configuration file parameter
PHYSBUFF
Double
buffering permits user processes to write to the active physical log buffer
while the other buffer is being flushed to the physical log on disk. A pointer
in shared memory indicates the current buffer to which processes write their
“before-images.”
Causes of Flushing
Three events cause the physical log buffer to flush:
One of the physical log buffers becomes full.
A modified page in shared memory must be flushed.
A checkpoint occurs.
Figure 2-8
The physical log
buffer and its
relation to the
physical log on disk
Current physical log
buffer (now filling)
Physical log buffer
 (flushing)
Writes performed by OnLine
user processes
Writes performed by
page-cleaner daemons
Physical log buffers
Physical log files