-
- Downloads
Revise hash join code so that we can increase the number of batches
on-the-fly, and thereby avoid blowing out memory when the planner has underestimated the hash table size. Hash join will now obey the work_mem limit with some faithfulness. Per my recent proposal (hash aggregate part isn't done yet though).
Showing
- src/backend/executor/nodeHash.c 313 additions, 198 deletionssrc/backend/executor/nodeHash.c
- src/backend/executor/nodeHashjoin.c 228 additions, 165 deletionssrc/backend/executor/nodeHashjoin.c
- src/backend/optimizer/path/costsize.c 10 additions, 8 deletionssrc/backend/optimizer/path/costsize.c
- src/backend/utils/adt/selfuncs.c 4 additions, 4 deletionssrc/backend/utils/adt/selfuncs.c
- src/include/executor/hashjoin.h 45 additions, 30 deletionssrc/include/executor/hashjoin.h
- src/include/executor/nodeHash.h 14 additions, 12 deletionssrc/include/executor/nodeHash.h
- src/include/executor/nodeHashjoin.h 5 additions, 3 deletionssrc/include/executor/nodeHashjoin.h
- src/include/nodes/execnodes.h 11 additions, 6 deletionssrc/include/nodes/execnodes.h
- src/include/utils/selfuncs.h 2 additions, 2 deletionssrc/include/utils/selfuncs.h
Loading
Please register or sign in to comment