postgresql / db_koji01: adjust stuff to hopefully give us good backups.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2019-10-11 22:32:28 +00:00 committed by Pierre-Yves Chibon
parent b36b749c46
commit 184f4c93bc
2 changed files with 4 additions and 4 deletions

View file

@ -45,5 +45,5 @@ nrpe_procs_warn: 600
nrpe_procs_crit: 700
db_backup_dir: ['/backups']
shared_buffers: "30GB"
effective_cache_size: "90GB"
shared_buffers: "15GB"
effective_cache_size: "45GB"

View file

@ -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 = 157286kB
work_mem = 8GB
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 = 100
effective_io_concurrency = 200