[prev] 12 [next]

PostgreSQL Buffer Manager

PostgreSQL buffer manager:
  • provides a shared pool of memory buffers for all backends
  • all access methods get data from disk via buffer manager
Buffers are located in a large region of shared memory.

Definitions:  src/include/storage/buf*.h

Functions:  src/backend/storage/buffer/*.c


Buffer code is also used by backends who want a private buffer pool