From: | Jeff Davis <jdavis(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Remove 'additional' pointer from TupleHashEntryData. |
Date: | 2025-03-25 05:06:46 |
Message-ID: | E1twwUv-000s4H-2r@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(at)gmail(dot)com>
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/626df47ad9db809dc8f93330175ab95b75914721
Modified Files
--------------
src/backend/executor/execGrouping.c | 17 ++++++++++++-----
src/include/executor/executor.h | 5 ++++-
src/include/nodes/execnodes.h | 1 -
3 files changed, 16 insertions(+), 7 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2025-03-25 05:19:58 | pgsql: Add support for custom_query_jumble as a node field attribute |
Previous Message | Amit Kapila | 2025-03-25 04:23:29 | pgsql: Fix the typo in the test case added in 73eba5004a. |