1. Manuals
  2. Brands
  3. Computer Equipment
  4. Server
  5. IBM
  6. Computer Equipment
  7. Server

IBM 000-8697 Double Buffering, Causes of Flushing

1 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 702
Download on canonical page 702 pages, 4.15 Mb
2-64 IBM Informix OnLine Database Server Administrator’s Guide
Physical Log Buffer
Refer topage 2-151 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
whilethe other buffer is being flushed to the physical log on disk. A pointer
inshared 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.
Figure2-8
The physical log
buffer and its
relation to the
physicallog on disk
Current physical log
buffer (now filling)
Physical log buffer
(flushing)
Writesperformed by OnLine
user processes
Writes performed by
page-cleaner daemons
Physical log buffers
Physical log files
MENU

Models

Contents