Open mweinelt opened 1 week ago
Time-wise I could correlate this with automatic vacuuming.
https://github.com/NixOS/infra/blob/master/build/haumea/postgresql.nix#L79-L87
Migrated compression from zstd to lz4, cause that is probably lighter on the CPU.
Years ago (ec610987a23a80deec6d5e01a4472021396d8a46) @edolstra tweaked some vacuuming parameters to 1/100 of the defaults. Maybe we could ease that a bit, as apparently we're suffering from too much vacuuming?
Hydra's database on haumea.nixos.org runs PostgreSQL on ZFS with zrepl for snapshot-based backups. Every once in a while we see the size of snapshots increase from <1G to 70-120G which results in a full disk.
My current working theory is