diff --git a/modules/services/server/postgresql.nix b/modules/services/server/postgresql.nix index cb02fc3..3a549db 100644 --- a/modules/services/server/postgresql.nix +++ b/modules/services/server/postgresql.nix @@ -12,12 +12,10 @@ max_connections = 200; listen_addresses = "localhost"; password_encryption = "scram-sha-256"; - shared_buffers = "2GB"; - work_mem = "1GB"; + shared_buffers = "4GB"; + work_mem = "2GB"; maintenance_work_mem = "500MB"; autovacuum_work_mem = -1; - min_wal_size = "1GB"; - max_wal_size = "4GB"; log_timezone = "Europe/Berlin"; timezone = "Europe/Berlin"; };