PostgreSQL: how do I reduce table and index bloat?
Summary As of November 2026, measure table, TOAST and index bytes before choosing cleanup. Tune vacuum for reusable space, release old snapshots that hold cleanup back, and rebuild only measured waste. Physical shrink and lower storage bills require separate confirmation. Start with pg_total_relation_size and SHOW server_version