Conceptual
Login

Database Buffer Pool

The buffer pool caches recently used disk pages in memory, so a page access is either a cheap cache hit or a disk read thousands of times slower. Plan timings vary between cold and warm cache, which is why EXPLAIN ANALYZE buffer counts (hits vs reads) matter as much as milliseconds.

Questions this Concept answers

  • Why does a query that reads a huge table hurt the response time of unrelated queries?