Re: [COMMITTERS] pgsql: If we expect a hash join to be performed in multiple batches, - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: [COMMITTERS] pgsql: If we expect a hash join to be performed in multiple batches,
Date
Msg-id 1238704376.5444.142.camel@ebony.2ndQuadrant
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: If we expect a hash join to be performed in multiple batches,  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
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.comPostgreSQL Training, Services and Support



pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: fix - function call with variadic parameter for type "any"
Next
From: Tom Lane
Date:
Subject: Re: fix - function call with variadic parameter for type "any"