2023-01-31 17:22:20 +00:00
|
|
|
# DB Version: 15
|
|
|
|
# OS Type: linux
|
|
|
|
# DB Type: web
|
|
|
|
# Total Memory (RAM): 8 GB
|
|
|
|
# CPUs num: 4
|
|
|
|
# Data Storage: ssd
|
|
|
|
|
|
|
|
max_connections = 200
|
|
|
|
shared_buffers = 2GB
|
|
|
|
effective_cache_size = 6GB
|
|
|
|
maintenance_work_mem = 512MB
|
|
|
|
checkpoint_completion_target = 0.9
|
2023-02-22 14:55:13 +00:00
|
|
|
checkpoint_timeout = 86400
|
2023-01-31 17:22:20 +00:00
|
|
|
wal_buffers = 16MB
|
|
|
|
default_statistics_target = 100
|
|
|
|
random_page_cost = 1.1
|
|
|
|
effective_io_concurrency = 200
|
|
|
|
work_mem = 5242kB
|
|
|
|
min_wal_size = 1GB
|
2023-02-22 14:55:13 +00:00
|
|
|
max_wal_size = 30GB
|
2023-01-31 17:22:20 +00:00
|
|
|
max_worker_processes = 4
|
|
|
|
max_parallel_workers_per_gather = 2
|
|
|
|
max_parallel_workers = 4
|
|
|
|
max_parallel_maintenance_workers = 2
|