Scenario
Storage keeps growing faster than your data. You need a repeatable way to estimate bloat and decide what to repack. Diagnose it Quick dead-tuple ratio per table: SELECT relname, n_dead_tup, n_live_tup, round(100*n_dead_tup/greatest(n_live_tup,1),1) AS dead_pct FROM pg_stat_user_tables…
Investigation Path
Career Impact
This scenario builds production judgment and operational confidence under pressure.