tune postgresql for zfs

This commit is contained in:
Dmitriy Kholkin 2024-07-07 16:59:27 +03:00
parent febec3e6f7
commit 77252fc9c4
Signed by: AtaraxiaDev
GPG Key ID: FD266B810DF48DF2

View File

@ -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;