aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/selfuncs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-12-27 22:32:03 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-12-27 22:32:03 +0000
commit34aabc20712723fc8a6a3974b724934ea304eaae (patch)
tree8b969938c6f459acfdd21403629a8777c504a415 /src/backend/utils/adt/selfuncs.c
parentf1d8828e3ce8040e16794fb4d44255d8aef7df34 (diff)
downloadpostgresql-34aabc20712723fc8a6a3974b724934ea304eaae.tar.gz
postgresql-34aabc20712723fc8a6a3974b724934ea304eaae.zip
Modify local buffer management to request memory for local buffers in blocks
of increasing size, instead of one at a time. This reduces the memory management overhead when num_temp_buffers is large: in the previous coding we would actually waste 50% of the space used for temp buffers, because aset.c would round the individual requests up to 16K. Problem noted while studying a performance issue reported by Steven Flatt. Back-patch as far as 8.1 --- older versions used few enough local buffers that the issue isn't significant for them.
Diffstat (limited to 'src/backend/utils/adt/selfuncs.c')
0 files changed, 0 insertions, 0 deletions