Out of disk
Nikolay and Michael discuss Postgres running out of disk space — including what happens, what can cause it, how to recover, and most importantly, how to prevent it from happening in the first place.
Here are some links to things they mentioned:
Here are some links to things they mentioned:
- Disk Full (docs) https://www.postgresql.org/docs/current/disk-full.html
- pgcompacttable https://github.com/dataegret/pgcompacttable
- Our episode on massive deletes https://postgres.fm/episodes/massive-deletes
- Getting Rid of Data (slides from VLDB 2019 keynote by Tova Milo)
- pg_tier https://github.com/tembo-io/pg_tier
- Data tiering in Timescale Cloud https://docs.timescale.com/use-timescale/latest/data-tiering/
- Postgres is Out of Disk and How to Recover (blog post by Elizabeth Christensen) https://www.crunchydata.com/blog/postgres-is-out-of-disk-and-how-to-recover-the-dos-and-donts
- max_slot_wal_keep_size https://www.postgresql.org/docs/current/runtime-config-replication.html#GUC-MAX-SLOT-WAL-KEEP-SIZE
- Our episode on checkpoint tuning https://postgres.fm/episodes/wal-and-checkpoint-tuning
- Aiven docs on full disk issues https://aiven.io/docs/products/postgresql/howto/prevent-full-disk
~~~
What did you like or not like? What should we discuss next time? Let us know via a YouTube comment, on social media, or by commenting on our Google doc!
What did you like or not like? What should we discuss next time? Let us know via a YouTube comment, on social media, or by commenting on our Google doc!
~~~
Postgres FM is produced by:
- Michael Christofides, founder of pgMustard
- Nikolay Samokhvalov, founder of Postgres.ai
With special thanks to:
- Jessie Draws for the elephant artwork