tune postgresql for zfs
This commit is contained in:
parent
febec3e6f7
commit
77252fc9c4
@ -123,6 +123,11 @@ in {
|
||||
trim.enable = true;
|
||||
trim.interval = "weekly";
|
||||
};
|
||||
services.postgresql.settings = {
|
||||
full_page_writes = "off";
|
||||
wal_init_zero = "off";
|
||||
wal_recycle = "off";
|
||||
};
|
||||
|
||||
# hardened
|
||||
networking.firewall.enable = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user