public inbox for [email protected]
help / color / mirror / Atom feedFrom: Jeff Davis <[email protected]>
To: [email protected]
Subject: pgsql: HashAgg: use Bump allocator for hash TupleHashTable entries.
Date: Tue, 25 Mar 2025 05:06:46 +0000
Message-ID: <[email protected]> (raw)
HashAgg: use Bump allocator for hash TupleHashTable entries.
The entries aren't freed until the entire hash table is destroyed, so
use the Bump allocator to improve allocation speed, avoid wasting
space on the chunk header, and avoid wasting space due to the
power-of-two allocations.
Discussion: https://postgr.es/m/CAApHDvqv1aNB4cM36FzRwivXrEvBO_LsG_eQ3nqDXTjECaatOQ@mail.gmail.com
Reviewed-by: David Rowley
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/cc721c459d3783bbdb4beb1bbfa802a5328d15a2
Modified Files
--------------
src/backend/executor/execUtils.c | 17 +++---
src/backend/executor/nodeAgg.c | 111 ++++++++++++++++++++++++++++++++-------
src/include/nodes/execnodes.h | 5 +-
3 files changed, 104 insertions(+), 29 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: HashAgg: use Bump allocator for hash TupleHashTable entries.
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