pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: HashAgg: before spilling tuples, set unneeded columns to NULL. 2+ messages / 1 participants [nested] [flat]
* pgsql: HashAgg: before spilling tuples, set unneeded columns to NULL. @ 2020-07-13 06:07 Jeff Davis <jdavis@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Jeff Davis @ 2020-07-13 06:07 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org HashAgg: before spilling tuples, set unneeded columns to NULL. This is a replacement for 4cad2534. Instead of projecting all tuples going into a HashAgg, only remove unnecessary attributes when actually spilling. This avoids the regression for the in-memory case. Discussion: https://postgr.es/m/a2fb7dfeb4f50aa0a123e42151ee3013933cb802.camel%40j-davis.com Backpatch-through: 13 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/2302302236a0c7aeba3377d78dd9d80ba53247df Modified Files -------------- src/backend/executor/nodeAgg.c | 123 ++++++++++++++++++++++++++++++----------- src/include/nodes/execnodes.h | 8 ++- 2 files changed, 96 insertions(+), 35 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: HashAgg: before spilling tuples, set unneeded columns to NULL. @ 2020-07-13 06:14 Jeff Davis <jdavis@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Jeff Davis @ 2020-07-13 06:14 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org HashAgg: before spilling tuples, set unneeded columns to NULL. This is a replacement for 4cad2534. Instead of projecting all tuples going into a HashAgg, only remove unnecessary attributes when actually spilling. This avoids the regression for the in-memory case. Discussion: https://postgr.es/m/a2fb7dfeb4f50aa0a123e42151ee3013933cb802.camel%40j-davis.com Backpatch-through: 13 Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/d8a7ce245095e3a70a2ad738c17be95593f68996 Modified Files -------------- src/backend/executor/nodeAgg.c | 123 ++++++++++++++++++++++++++++++----------- src/include/nodes/execnodes.h | 8 ++- 2 files changed, 96 insertions(+), 35 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2020-07-13 06:14 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2020-07-13 06:07 pgsql: HashAgg: before spilling tuples, set unneeded columns to NULL. Jeff Davis <jdavis@postgresql.org> 2020-07-13 06:14 pgsql: HashAgg: before spilling tuples, set unneeded columns to NULL. Jeff Davis <jdavis@postgresql.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox