mirror of
https://github.com/postgres/postgres.git
synced 2025-07-17 06:41:09 +03:00
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..
This commit is contained in:
@ -57,7 +57,7 @@
|
||||
#
|
||||
# Non-shared Memory Sizes
|
||||
#
|
||||
#sort_mem = 512 # min 32
|
||||
#sort_mem = 1024 # min 64
|
||||
#vacuum_mem = 8192 # min 1024
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user