diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-12-27 22:31:59 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-12-27 22:31:59 +0000 |
commit | 1e78ea0ffe1b3698bfe0b1e24295e08bbdc310f9 (patch) | |
tree | 6027dce58d7d9bbe70a8ec4831078565613f6aad /doc/src/sgml/ref/postgres-ref.sgml | |
parent | 38b72135c91491860f9882be9f5a3d0dacab64c5 (diff) | |
download | postgresql-1e78ea0ffe1b3698bfe0b1e24295e08bbdc310f9.tar.gz postgresql-1e78ea0ffe1b3698bfe0b1e24295e08bbdc310f9.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 'doc/src/sgml/ref/postgres-ref.sgml')
0 files changed, 0 insertions, 0 deletions