Scenario
You have two caches in front of disk — PostgreSQL's shared_buffers and the OS page cache. Knowing how they interact guides memory tuning. Diagnose it Check cache effectiveness: SELECT round(100*sum(blks_hit)/greatest(sum(blks_hit)+sum(blks_read),1),2) AS hit_pct FROM pg_stat_database; Why it…
Investigation Path
Career Impact
This scenario builds production judgment and operational confidence under pressure.