]> granicus.if.org Git - postgresql/commit
Improve sorting speed by pre-extracting the first sort-key column of
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 26 Feb 2006 22:58:12 +0000 (22:58 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 26 Feb 2006 22:58:12 +0000 (22:58 +0000)
commit909ca1407c4f38d9cca28df016f467db041edad5
tree1dcbfb6dc95c77ae0b2711232668331273b8ac16
parente1f06d8057322c1433b0436dfd825d1dbef486c1
Improve sorting speed by pre-extracting the first sort-key column of
each tuple, as per my proposal of several days ago.  Also, clean up
sort memory management by keeping all working data in a separate memory
context, and refine the handling of low-memory conditions.
src/backend/executor/nodeSort.c
src/backend/utils/sort/tuplesort.c