IT lexicon › Database › Page buffer

Page buffer

Database På svenska → Updated: 2026-11-11

Memory pool in the database engine that caches recently-read disk pages, so repeated accesses don't require a disk read.

A database reads from disk one page at a time (typically 4–8 KB). If the same page is needed again — by another query, or within the same query — reading from disk every time is wasteful. The page buffer (also called buffer pool) holds recent pages in RAM between requests. A replacement policy, usually LRU, decides which page gets evicted when the buffer fills.

The page buffer is one of the highest-impact optimizations in any database engine. A large buffer can mean the difference between I/O-bound and CPU-bound performance. Modern databases devote hundreds of lines of code to buffer management: which pages to keep, when to flush them, how to lock them during writes.

← Back to the lexicon