Mastodon: Add postgresql config
This commit is contained in:
parent
3436125897
commit
45c6b7c542
3 changed files with 30 additions and 4 deletions
25
run/mastodon/workspace/postgresql.conf
Normal file
25
run/mastodon/workspace/postgresql.conf
Normal file
|
@ -0,0 +1,25 @@
|
|||
# DB Version: 17
|
||||
# OS Type: linux
|
||||
# DB Type: web
|
||||
# Total Memory (RAM): 3 GB
|
||||
# CPUs num: 6
|
||||
# Connections num: 300
|
||||
# Data Storage: ssd
|
||||
|
||||
max_connections = 300
|
||||
shared_buffers = 768MB
|
||||
effective_cache_size = 2304MB
|
||||
maintenance_work_mem = 192MB
|
||||
checkpoint_completion_target = 0.9
|
||||
wal_buffers = 16MB
|
||||
default_statistics_target = 100
|
||||
random_page_cost = 1.1
|
||||
effective_io_concurrency = 200
|
||||
work_mem = 873kB
|
||||
huge_pages = off
|
||||
min_wal_size = 1GB
|
||||
max_wal_size = 4GB
|
||||
max_worker_processes = 6
|
||||
max_parallel_workers_per_gather = 3
|
||||
max_parallel_workers = 6
|
||||
max_parallel_maintenance_workers = 3
|
Loading…
Add table
Add a link
Reference in a new issue