Skip to content
Snippets Groups Projects
Commit fb57ee8b authored by Dan Notestein's avatar Dan Notestein
Browse files

Update pgtune.conf

parent d2a4e793
No related branches found
No related tags found
2 merge requests!74Merge develop to master,!68Update pgtune.conf
...@@ -4,13 +4,13 @@ maintenance_work_mem = 4GB ...@@ -4,13 +4,13 @@ maintenance_work_mem = 4GB
work_mem = 1024MB work_mem = 1024MB
checkpoint_completion_target = 0.9 checkpoint_completion_target = 0.9
checkpoint_timeout = 5min #checkpoint_timeout = 5min
wal_buffers = 128MB wal_buffers = 128MB
random_page_cost = 1.01 random_page_cost = 1.01
effective_io_concurrency = 200 effective_io_concurrency = 200
min_wal_size = 1GB #min_wal_size = 1GB
max_wal_size = 8GB #max_wal_size = 8GB
wal_level = minimal wal_level = minimal
max_wal_senders = 0 max_wal_senders = 0
...@@ -25,3 +25,10 @@ idle_in_transaction_session_timeout = 60s ...@@ -25,3 +25,10 @@ idle_in_transaction_session_timeout = 60s
max_parallel_maintenance_workers = 4 max_parallel_maintenance_workers = 4
default_statistics_target = 500 default_statistics_target = 500
#Changes based on pg_gather analysis, appears to improve sync performance by 10%,
#but post-analysis suggests more improvement via parameter tweaking is possible
bgwriter_lru_maxpages = 700 #directly suggested by pg_gather
#Remaining values I just doubled original values as no specific value was suggested
checkpoint_timeout = 600
min_wal_size = 2GB
max_wal_size = 16GB
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment