postgresql / db-koji01: more tweaks
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
184f4c93bc
commit
66c7df9a53
1 changed files with 3 additions and 3 deletions
|
@ -113,7 +113,7 @@ max_connections = 750 # (change requires restart)
|
||||||
|
|
||||||
shared_buffers = {{ shared_buffers }} # min 128kB or max_connections*16kB
|
shared_buffers = {{ shared_buffers }} # min 128kB or max_connections*16kB
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#temp_buffers = 8MB # min 800kB
|
temp_buffers = 32MB # min 800kB
|
||||||
#max_prepared_transactions = 5 # can be 0 or more
|
#max_prepared_transactions = 5 # can be 0 or more
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
# Note: Increasing max_prepared_transactions costs ~600 bytes of shared memory
|
# 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
|
# 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.
|
# 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
|
maintenance_work_mem = 2GB # min 1MB
|
||||||
#max_stack_depth = 2MB # min 100kB
|
#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
|
#custom_variable_classes = '' # list of custom variable class names
|
||||||
#
|
#
|
||||||
# Number of concurrent i/o operations at the same time. The default is 1.
|
# Number of concurrent i/o operations at the same time. The default is 1.
|
||||||
effective_io_concurrency = 200
|
effective_io_concurrency = 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue