summaryrefslogtreecommitdiff
path: root/src/backend/utils/misc/postgresql.conf.sample
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2002-08-12 00:36:12 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2002-08-12 00:36:12 +0000
commit77a7e9968bf109d11b87c40ba41d4b1a7f1d28ea (patch)
treee33aa3030956bcc878a3181e9cd31efad38b0d6c /src/backend/utils/misc/postgresql.conf.sample
parente44beef712144316cb83d32ccf3231a1503c9655 (diff)
Change memory-space accounting mechanism in tuplesort.c and tuplestore.c
to make a reasonable attempt at accounting for palloc overhead, not just the requested size of each memory chunk. Since in many scenarios this will make for a significant reduction in the amount of space acquired, partially compensate by doubling the default value of SORT_MEM to 1Mb. Per discussion in pgsql-general around 9-Jun-2002..
Diffstat (limited to 'src/backend/utils/misc/postgresql.conf.sample')
-rw-r--r--src/backend/utils/misc/postgresql.conf.sample2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index be097186cac..c9511ad7fb1 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -57,7 +57,7 @@
#
# Non-shared Memory Sizes
#
-#sort_mem = 512 # min 32
+#sort_mem = 1024 # min 64
#vacuum_mem = 8192 # min 1024