pgsql: Fix LookupTupleHashEntryHash() pipeline-stall issue.

From: Jeff Davis <jdavis(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix LookupTupleHashEntryHash() pipeline-stall issue.
Date: 2020-07-26 23:07:08
Message-ID: E1jzpjY-000403-FG@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix LookupTupleHashEntryHash() pipeline-stall issue.

Refactor hash lookups in nodeAgg.c to improve performance.

Author: Andres Freund and Jeff Davis
Discussion: https://postgr.es/m/20200612213715.op4ye4q7gktqvpuo%40alap3.anarazel.de
Backpatch-through: 13

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/200f6100a9f9fc71273aeb6aceac4430f3437195

Modified Files
--------------
src/backend/executor/execGrouping.c | 29 ++++--
src/backend/executor/nodeAgg.c | 163 +++++++++++++++---------------
src/backend/executor/nodeRecursiveunion.c | 4 +-
src/backend/executor/nodeSetOp.c | 4 +-
src/backend/executor/nodeSubplan.c | 4 +-
src/include/executor/executor.h | 2 +-
6 files changed, 105 insertions(+), 101 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Jeff Davis 2020-07-26 23:14:42 pgsql: Fix LookupTupleHashEntryHash() pipeline-stall issue.
Previous Message David Rowley 2020-07-26 09:03:22 pgsql: Allocate consecutive blocks during parallel seqscans