postgresql / db-koji01: more tweaks

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2019-10-12 19:52:03 +00:00 committed by Pierre-Yves Chibon
parent 184f4c93bc
commit 66c7df9a53

View file

@ -113,7 +113,7 @@ max_connections = 750 # (change requires restart)
shared_buffers = {{ shared_buffers }} # min 128kB or max_connections*16kB
# (change requires restart)
#temp_buffers = 8MB # min 800kB
temp_buffers = 32MB # min 800kB
#max_prepared_transactions = 5 # can be 0 or more
# (change requires restart)
# Note: Increasing max_prepared_transactions costs ~600 bytes of shared memory
@ -121,7 +121,7 @@ shared_buffers = {{ shared_buffers }} # min 128kB or max_connections*16kB
# 8 MB is probably on the high side. We can probably do with 4MB. But we
# were seeing a problem and we have the RAM so we're going to try this.
work_mem = 8GB
work_mem = 32MB
maintenance_work_mem = 2GB # min 1MB
#max_stack_depth = 2MB # min 100kB
@ -504,4 +504,4 @@ default_text_search_config = 'pg_catalog.english'
#custom_variable_classes = '' # list of custom variable class names
#
# Number of concurrent i/o operations at the same time. The default is 1.
effective_io_concurrency = 200
effective_io_concurrency = 1