-
- Downloads
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.
Showing
- src/backend/storage/file/buffile.c 108 additions, 126 deletionssrc/backend/storage/file/buffile.c
- src/backend/utils/sort/Makefile 2 additions, 2 deletionssrc/backend/utils/sort/Makefile
- src/backend/utils/sort/logtape.c 903 additions, 0 deletionssrc/backend/utils/sort/logtape.c
- src/backend/utils/sort/psort.c 232 additions, 238 deletionssrc/backend/utils/sort/psort.c
- src/include/storage/buffile.h 3 additions, 2 deletionssrc/include/storage/buffile.h
- src/include/utils/logtape.h 41 additions, 0 deletionssrc/include/utils/logtape.h
- src/include/utils/psort.h 4 additions, 84 deletionssrc/include/utils/psort.h
Loading
Please register or sign in to comment