Commit 01ec256
committed
Simplify tape block format.
No more indirect blocks. The blocks form a linked list instead.
This saves some memory, because we don't need to have a buffer in memory to
hold the indirect block (or blocks). To reflect that, TAPE_BUFFER_OVERHEAD
is reduced from 3 to 1 buffer, which allows using more memory for building
the initial runs.
Reviewed by Peter Geoghegan and Robert Haas.
Discussion: https://www.postgresql.org/message-id/34678beb-938e-646e-db9f-a7def5c44ada%40iki.fi1 parent b86515d commit 01ec256
File tree
3 files changed
+218
-478
lines changed- src
- backend/utils/sort
- include/utils
3 files changed
+218
-478
lines changed
0 commit comments