OSDN Git Service

Second phase of psort reconstruction project: add bookkeeping logic to
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 16 Oct 1999 19:49:28 +0000 (19:49 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 16 Oct 1999 19:49:28 +0000 (19:49 +0000)
commit957146dcec9cc2fb31220c26c51802623df04e5e
treeaf3b58f8d85bf796a5ff810df45accf27de042af
parent357231e68e5a9333904b1ebc6ac82410a4a21f0e
Second phase of psort reconstruction project: add bookkeeping logic to
recycle storage within sort temp file on a block-by-block basis.  This
reduces peak disk usage to essentially just the volume of data being
sorted, whereas it had been about 4x the data volume before.
src/backend/storage/file/buffile.c
src/backend/utils/sort/Makefile
src/backend/utils/sort/logtape.c [new file with mode: 0644]
src/backend/utils/sort/psort.c
src/include/storage/buffile.h
src/include/utils/logtape.h [new file with mode: 0644]
src/include/utils/psort.h