pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Simon Riggs <simon@2ndQuadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org
Subject: Re: [COMMITTERS] pgsql: If we expect a hash join to be performed in multiple batches,
Date: Thu, 02 Apr 2009 21:32:56 +0100
Message-ID: <1238704376.5444.142.camel@ebony.2ndQuadrant> (raw)
In-Reply-To: <20202.1238701799@sss.pgh.pa.us>
References: <20090326171535.6B9BF754ADE@cvs.postgresql.org>
	<1238692283.5444.123.camel@ebony.2ndQuadrant>
	<20202.1238701799@sss.pgh.pa.us>


On Thu, 2009-04-02 at 15:49 -0400, Tom Lane wrote:
> Simon Riggs <simon@2ndquadrant.com> writes:
> > Can we add "batches=N" to the EXPLAIN output for Hash and/or Hash Join?
> 
> Are you talking about expected batches, or actual batches?  

Expected batches for EXPLAIN, both for EXPLAIN ANALYZE.

> If the
> former, would it be sufficient to distinguish "1" from "more than 1"?
> If so, maybe changing the node title to "Batched Hash" would do.

Hmmm, knowing the number of batches is beneficial since it helps you to
calculate the required memory to get best performance.

-- 
 Simon Riggs           www.2ndQuadrant.com
 PostgreSQL Training, Services and Support





view thread (4+ messages)  latest in thread

Message-ID: <1238704376.5444.142.camel@ebony.2ndQuadrant>
Permalink:  ../1238704376.5444.142.camel@ebony.2ndQuadrant/
Also on:    postgresql.org/message-id/1238704376.5444.142.camel@ebony.2ndQuadrant

 · 

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: pgsql-committers@postgresql.org
  Cc: simon@2ndQuadrant.com, tgl@sss.pgh.pa.us, pgsql-hackers@postgresql.org
  Subject: Re: [COMMITTERS] pgsql: If we expect a hash join to be performed in multiple batches,
  In-Reply-To: <1238704376.5444.142.camel@ebony.2ndQuadrant>

* 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