pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Steinar H. Gunderson <sgunderson@bigfoot.com>
To: pgsql-performance@postgresql.org
Subject: Re: Odd sorting behaviour
Date: Tue, 20 Jul 2004 10:06:08 -0700
Message-ID: <200407201006.08649.josh@agliodbs.com> (raw)
In-Reply-To: <20040720115116.GB19633@uio.no>
References: <20040708101913.GA15871@uio.no>
	<20040715120854.GA31259@uio.no>
	<20040720115116.GB19633@uio.no>

Steinar,

> I've tried some further tweaking, but I'm still unable to force it into
> doing a hash join -- any ideas how I can find out why it chooses a merge
> join?

Actually, quick question -- have you tried setting enable_mergjoin=false to 
see the plan the system comes up with?  Is it in fact faster?

-- 
Josh Berkus
Aglio Database Solutions
San Francisco



view thread (15+ messages)  latest in thread

Message-ID: <200407201006.08649.josh@agliodbs.com>
Permalink:  ../200407201006.08649.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200407201006.08649.josh@agliodbs.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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: josh@agliodbs.com, sgunderson@bigfoot.com
  Subject: Re: Odd sorting behaviour
  In-Reply-To: <200407201006.08649.josh@agliodbs.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