public inbox for [email protected]
help / color / mirror / Atom feedFrom: Jeff Davis <[email protected]>
To: [email protected]
Subject: pgsql: Remove 'additional' pointer from TupleHashEntryData.
Date: Tue, 25 Mar 2025 05:06:46 +0000
Message-ID: <[email protected]> (raw)
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 <[email protected]>
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(-)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: pgsql: Remove 'additional' pointer from TupleHashEntryData.
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox