diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-03-07 19:06:50 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-03-07 19:06:50 +0000 |
commit | 8db05ba411ecd3ce2cb0cb7c78fec87658e1a4ab (patch) | |
tree | 7e0fd7aaff03dcd83ef3e4ac0232ae57c268f628 /src/backend/utils/adt/numutils.c | |
parent | e6107da53c93dc188e257d72c3412510d2584093 (diff) | |
download | postgresql-8db05ba411ecd3ce2cb0cb7c78fec87658e1a4ab.tar.gz postgresql-8db05ba411ecd3ce2cb0cb7c78fec87658e1a4ab.zip |
Repair old performance bug in tuplesort.c/logtape.c. In the case where
we are doing the final merge pass on-the-fly, and not writing the data
back onto a 'tape', the number of free blocks in the tape set will become
large, leading to a lot of time wasted in ltsReleaseBlock(). There is
really no need to track the free blocks anymore in this state, so add a
simple shutoff switch. Per report from Stefan Kaltenbrunner.
Diffstat (limited to 'src/backend/utils/adt/numutils.c')
0 files changed, 0 insertions, 0 deletions