haumea/postgresql: disable full page writes
"ZFS does not need full page writes to prevent torn pages, because ZFS never tears pages"
Martin Weinelt committed
Jun 17, 2024 at 02:06 UTC
6137463fb5267c4e946acb312b70cc038e1afc94
1 file changed
+3
delft/haumea/postgresql.nix
+3
@@ -28,6 +28,9 @@
28
settings = {
29
listen_addresses = lib.mkForce "10.254.1.9";
30
31
+ # https://vadosware.io/post/everything-ive-seen-on-optimizing-postgres-on-zfs-on-linux/#zfs-related-tunables-on-the-postgres-side
32
+ full_page_writes = "off";
33
+
34
checkpoint_completion_target = "0.9";
35
default_statistics_target = 100;
36