postgresql / db-koji: adjust postgresl some more

Turns out we were not setting effective_cache_size even tho it was set
for some servers (pagure). Adjust a few parameters on db-koji to try and
get some more performance out of it.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-07-22 16:23:33 -07:00
parent 2ec00accf3
commit 310a64c713
2 changed files with 6 additions and 1 deletions

View file

@ -46,4 +46,5 @@ nrpe_procs_crit: 700
# we backup the backup on db-koji01 until we can replace now
db_backup_dir: ['/backups']
shared_buffers: "15GB"
effective_cache_size: "45GB"
effective_cache_size: "4GB"
max_stack_depth: "6MB"

View file

@ -412,7 +412,11 @@ min_wal_size = 80MB
#min_parallel_table_scan_size = 8MB
#min_parallel_index_scan_size = 512kB
{% if effective_cache_size is defined %}
effective_cache_size = {{ effective_cache_size }}
{% else %}
#effective_cache_size = 4GB
{% endif %}
# - Genetic Query Optimizer -