server: tweak postgresql to more caching

This commit is contained in:
2024-02-12 12:34:15 +01:00
parent f750968224
commit b37e0cdda5
2 changed files with 50 additions and 2 deletions

View File

@@ -12,8 +12,9 @@
max_connections = 200;
listen_addresses = "localhost";
password_encryption = "scram-sha-256";
shared_buffers = "512MB";
work_mem = "8MB";
shared_buffers = "2GB";
work_mem = "1GB";
maintence_work_mem = "500MB"
autovacuum_work_mem = -1;
min_wal_size = "1GB";
max_wal_size = "4GB";