pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <robertmhaas@gmail.com>
To: Claudio Freire <klaussfreire@gmail.com>
Cc: Mark <Marek.Balgar@seznam.cz>
Cc: pgsql-performance@postgresql.org
Subject: Re: Query improvement
Date: Fri, 13 May 2011 22:28:51 -0400
Message-ID: <BANLkTimV2Y8uT6SjsvZhR1kZ5Pf8+HPtYg@mail.gmail.com> (raw)
In-Reply-To: <BANLkTinqa_YBD+qhuNqta=M8rqaZNFtE5g@mail.gmail.com>
References: <1304245432864-4362578.post@n5.nabble.com>
	<BANLkTinqa_YBD+qhuNqta=M8rqaZNFtE5g@mail.gmail.com>

On Mon, May 2, 2011 at 3:58 AM, Claudio Freire <klaussfreire@gmail.com> wrote:
> Hash joins are very inefficient if they require big temporary files.

Hmm, that's not been my experience.  What have you seen?

I've seen a 64-batch hash join beat out a
nested-loop-with-inner-indexscan, which I never woulda believed,
but...

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



view thread (9+ messages)

Message-ID: <BANLkTimV2Y8uT6SjsvZhR1kZ5Pf8+HPtYg@mail.gmail.com>
Permalink:  ../BANLkTimV2Y8uT6SjsvZhR1kZ5Pf8+HPtYg@mail.gmail.com/
Also on:    postgresql.org/message-id/BANLkTimV2Y8uT6SjsvZhR1kZ5Pf8+HPtYg@mail.gmail.com

 · 

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-performance@postgresql.org
  Cc: robertmhaas@gmail.com, klaussfreire@gmail.com, Marek.Balgar@seznam.cz
  Subject: Re: Query improvement
  In-Reply-To: <BANLkTimV2Y8uT6SjsvZhR1kZ5Pf8+HPtYg@mail.gmail.com>
  References: <1304245432864-4362578.post@n5.nabble.com> <BANLkTinqa_YBD+qhuNqta=M8rqaZNFtE5g@mail.gmail.com> <BANLkTimV2Y8uT6SjsvZhR1kZ5Pf8+HPtYg@mail.gmail.com>

* 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