Add PostgreSQL configuration

This commit is contained in:
Joakim Hellsén 2025-07-30 03:21:55 +02:00
commit 05465f548a
3 changed files with 72 additions and 41 deletions

19
postgresql.conf Normal file
View file

@ -0,0 +1,19 @@
checkpoint_completion_target = 0.9
default_statistics_target = 100
effective_cache_size = 12GB
effective_io_concurrency = 200
huge_pages = off
listen_addresses = '*'
maintenance_work_mem = 1GB
max_connections = 50
max_parallel_maintenance_workers = 4
max_parallel_workers = 12
max_parallel_workers_per_gather = 4
max_wal_size = 4GB
max_worker_processes = 12
min_wal_size = 1GB
random_page_cost = 1.1
shared_buffers = 4GB
superuser_reserved_connections = 3
wal_buffers = 16MB
work_mem = 19784kB