Remove 'additional' pointer from TupleHashEntryData.
Jeff Davis <jdavis@postgresql.org>
Remove 'additional' pointer from TupleHashEntryData. Reduces memory required for hash aggregation by avoiding an allocation and a pointer in the TupleHashEntryData structure. That structure is used for all buckets, whether occupied or not, so the savings is substantial. Discussion: https://postgr.es/m/AApHDvpN4v3t_sdz4dvrv1Fx_ZPw=twSnxuTEytRYP7LFz5K9A@mail.gmail.com Reviewed-by: David Rowley <dgrowleyml@gmail.com>
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/executor/execGrouping.c | modified | +12 −5 |
| src/include/executor/executor.h | modified | +4 −1 |
| src/include/nodes/execnodes.h | modified | +0 −1 |
Discussion
Cited messages not in the archive:
AApHDvpN4v3t_sdz4dvrv1Fx_ZPw=twSnxuTEytRYP7LFz5K9A@mail.gmail.com