
2-66 IBM Informix OnLine Database Server Administrator’s Guide
Logical Log Buffer
First, the pageiswritten tothecurrentphysical log buffer, filling it.Next, the
user process latches the other physical log buffer. The user process switches
the shared-memory current-buffer pointer, making the newly latched buffer
the current buffer. The latch on the physicallog on disk and the latch on this
new, current bufferarereleased,which permits otheruser processes to begin
writing to the new current buffer. Last, the full buffer is flushed to disk and
the latch on the buffer is released.
Logical Log Buffer
OnLine uses the shared-memory logical log buffer as temporary storage of
records that describe modifications to OnLine pages. From the logical log
buffer, these records of changes are written to the current logical log file on
disk, and eventuallytothe logical logbackuptapes. Refer to page 2-153fora
description of the functions of the logical log files and their contents.
Triple Buffering
There are three logical log buffers. Each buffer is the size (expressed in
kilobytes)thatisspecifiedbytheconfigurationfileparameterLOGBUFF. This
triple buffering permits user processes to write to the active buffer while one
of the other buffers is being flushed todisk. Flushing might not complete by
the time the active buffer fills. Writing then begins in the third buffer. A
shared-memory pointer indicates the current buffer.
Kommentare zu diesen Handbüchern