5 questions to test your understanding
The buffer pool is full and the replacement policy selects a page to evict. The chosen page's dirty bit is set to 1. What must happen before the frame can be reused?
A database buffer pool is running the clock algorithm. A frame's reference bit is currently 1 when the clock hand reaches it during eviction. What happens?
LRU is the most commonly implemented replacement policy in real database buffer pools because it provides the best performance in most workloads.
A page with a pin count greater than zero cannot be evicted by any replacement policy, regardless of how long it has been in the buffer pool.
Why does evicting a dirty page cost more than evicting a clean page, and how do database systems reduce this overhead?