Email or username:

Password:

Forgot your password?
Top-level
Eugen Rochko

I shaved off 40 GB from the mastodon.social database just by using pg_repack on indexes tonight.

No comments
lars

@Gargron How big are the database and media directories in total? What size of server is required to host a community like mastodon.social?

Kero-♄

@Gargron Ah, so you're starting the year with a thorough cleaning of the house. Quite respectable.

Nandeth Draggar

@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.

Fuarach Blas

@Gargron Next Hogmanay come for a ceilidh instead :)
Bliadhna Ur Mhath

niconiconi

@gargron "Eugen used this one weird trick to reduce the size of his PostgreSQL database by 40 GB! Hosting vendors hate him!!"

Anticapcom4

@Gargron
start the year off right, start the year’s mastodon off light


@Gargron pg_repack is nice, but maybe is a signal you need to adjust pg vacuuming parameters 🙂

Go Up