postgres optimization

This commit is contained in:
2023-12-30 02:18:53 -06:00
parent bc97b48c04
commit 7635bb3393
2 changed files with 8 additions and 1 deletions

View File

@@ -226,6 +226,13 @@ in {
host all all ${localhost}/32 trust
host all all ::1/128 trust
'';
settings = {
dynamic_shared_memory_type = "posix";
max_connections = 100;
max_wal_size = "1GB";
min_wal_size = "80MB";
shared_buffers = "128MB";
};
};
};
systemd = {