From 77a7e9968bf109d11b87c40ba41d4b1a7f1d28ea Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 12 Aug 2002 00:36:12 +0000 Subject: 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.. --- src/backend/utils/misc/postgresql.conf.sample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/backend/utils/misc/postgresql.conf.sample') 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 -- cgit v1.2.3