Buffer Manager
The DBMS component that manages an in-memory cache of data pages from disk, minimizing expensive I/O operations.
A buffer manager (or buffer pool manager) is among a DBMS's most critical and complex components. It maintains a buffer pool—a region of RAM—where database pages (typically 4 KB or 8 KB blocks) are cached. When a query reads or writes data, the executor asks the buffer manager, which checks if the page is already in memory (a hit), or must fetch it from disk (a miss).
The buffer manager must implement a page replacement policy: when the pool is full, which page should be evicted to make room? LRU (Least Recently Used) dominated for decades, but workload-aware and adaptive policies have emerged. A skilled buffer manager can cut I/O traffic dramatically. In the early days of databases, the difference between a good and a mediocre buffer manager literally determined whether the system was practical or not.