I shaved off 40 GB from the mastodon.social database just by using pg_repack on indexes tonight.
Top-level
I shaved off 40 GB from the mastodon.social database just by using pg_repack on indexes tonight. No comments
@Gargron at work we have an intense INSERT/UPDATE’ activity on the core DB so we must rebuild indexes every week to ensure performance and mitigate storage waste. @gargron "Eugen used this one weird trick to reduce the size of his PostgreSQL database by 40 GB! Hosting vendors hate him!!" |
@Gargron
Thank you very much, you are the best