IITM Pravartak Technologies Foundation
Page Buffer
Shared Memory Area
It stores data from physical files
into RAM. This avoids I/O delays.
Part of Shared Buffer Pool
Accessible to all PostgreSQL
processes. Ensures efficient data
sharing.
Cache Lookup
PostgreSQL checks buffer cache
for data. Returns data from cache if
available.
The page buffer is crucial for performance. It reduces the need to read from disk.
Configuration
Controlled by shared_buffers
parameter (default: 128 MB).
Initialization
InitBufTable in
backend/storage/buffer/freelist.c
相关文档
评论