1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-14 08:21:07 +03:00

Increase work_mem and maintenance_work_mem defaults by 4x

New defaults are 4MB and 64MB.
This commit is contained in:
Bruce Momjian
2014-02-24 13:04:51 -05:00
parent 6f14a6f703
commit 848ae330a4
3 changed files with 6 additions and 6 deletions

View File

@ -124,8 +124,8 @@
# per transaction slot, plus lock space (see max_locks_per_transaction).
# It is not advisable to set max_prepared_transactions nonzero unless you
# actively intend to use prepared transactions.
#work_mem = 1MB # min 64kB
#maintenance_work_mem = 16MB # min 1MB
#work_mem = 4MB # min 64kB
#maintenance_work_mem = 64MB # min 1MB
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
#max_stack_depth = 2MB # min 100kB
#dynamic_shared_memory_type = posix # the default is the first option