aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postgresql/templates/postgresql.conf
diff options
context:
space:
mode:
Diffstat (limited to 'modules/postgresql/templates/postgresql.conf')
-rw-r--r--modules/postgresql/templates/postgresql.conf8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/postgresql/templates/postgresql.conf b/modules/postgresql/templates/postgresql.conf
index 97e42cd2..c1e7c994 100644
--- a/modules/postgresql/templates/postgresql.conf
+++ b/modules/postgresql/templates/postgresql.conf
@@ -113,7 +113,7 @@ ssl = on
# - Memory -
-shared_buffers = 4096MB # min 128kB
+shared_buffers = 2048MB # min 128kB
# (change requires restart)
#temp_buffers = 8MB # min 800kB
#max_prepared_transactions = 0 # zero disables the feature
@@ -122,8 +122,8 @@ shared_buffers = 4096MB # min 128kB
# 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 = 80MB # min 64kB
-maintenance_work_mem = 1536MB # min 1MB
+work_mem = 64MB # min 64kB
+maintenance_work_mem = 512MB # min 1MB
#max_stack_depth = 2MB # min 100kB
# - Kernel Resource Usage -
@@ -235,7 +235,7 @@ maintenance_work_mem = 1536MB # min 1MB
#cpu_tuple_cost = 0.01 # same scale as above
#cpu_index_tuple_cost = 0.005 # same scale as above
#cpu_operator_cost = 0.0025 # same scale as above
-effective_cache_size = 8192MB
+effective_cache_size = 4096MB
# - Genetic Query Optimizer -