pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: Fix costing of parallel hash joins.
Date: Wed, 07 Mar 2018 02:56:05 +0000
Message-ID: <E1etPFN-0001ft-Gg@gemulon.postgresql.org> (raw)

Fix costing of parallel hash joins.

Commit 1804284042e659e7d16904e7bbb0ad546394b6a3 established that single-batch
parallel-aware hash joins could create one large shared hash table using the
combined work_mem budget of all participants.  The costing accidentally
assumed that parallel-oblivious hash joins could also do that.  The
documentation for initial_cost_hashjoin() also failed to mention the new
argument.  Repair.

Author: Thomas Munro
Reported-By: Antonin Houska
Reviewed-By: Antonin Houska
Discussion: https://postgr.es/m/12441.1513935950%40localhost

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5b804cc168a52039be02f392780b9e8c8db74412

Modified Files
--------------
src/backend/optimizer/path/costsize.c | 2 ++
src/backend/optimizer/path/joinpath.c | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)



Message-ID: <E1etPFN-0001ft-Gg@gemulon.postgresql.org>
Permalink:  ../E1etPFN-0001ft-Gg@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1etPFN-0001ft-Gg@gemulon.postgresql.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter_e@gmx.net
  Subject: Re: pgsql: Fix costing of parallel hash joins.
  In-Reply-To: <E1etPFN-0001ft-Gg@gemulon.postgresql.org>
  References: <E1etPFN-0001ft-Gg@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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