@kaveman definitely put your database on ZFS!
Adjust recordsize to match the db block size, select the caching to match what your database doesn't optimize for, plus free snapshots and replication etc.
@kaveman definitely put your database on ZFS!
Adjust recordsize to match the db block size, select the caching to match what your database doesn't optimize for, plus free snapshots and replication etc.
@mwl interesting! I'd still hesitate to replicate because of WAL files etc.it would be safer to delegate to the db engine for replication. I think.
@kaveman seriously, do both. Live replication in the cluster, zfs snapshots & replication for backups & DR
@mwl I'll keep that in mind. The hesitation comes from potential write amplification but then again haven't managed heavy-workload databases in 20 years so I'll take your word.
@kaveman you can absolutely cause write amplification through misconfiguration!
But if you tune it correctly, it's screaming fast