[prev] 68 [next]

Buffer Pool Functions (cont)

Additional buffer manager functions:

Page BufferGetPage(Buffer buf)

  • finds actual data associated with buffer in pool
  • returns reference to memory where data is located
BufferIsPinned(Buffer buf)
  • check whether this backend holds a pin on buffer
CheckPointBuffers
  • write data in checkpoint logs (for recovery)
  • flush all dirty blocks in buffer pool to disk
etc. etc. etc.