From: Tom Lane <tgl@sss.pgh.pa.us>
To: Arjen van der Meijden <acmmailing@tweakers.net>
Cc: Jeremy Haile <jhaile@fastmail.fm>
Cc: Adam Rich <adam.r@sbcglobal.net>
Cc: 'Bricklen Anderson' <banderson@presinet.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Configuration Advice
Date: Thu, 18 Jan 2007 17:11:37 -0500
Message-ID: <6826.1169158297@sss.pgh.pa.us> (raw)
In-Reply-To: <45AFE234.70301@tweakers.net>
References: <090501c73a90$7f154330$6400a8c0@dualcore>
<45AF4ACA.5060805@tweakers.net>
<1169141307.10693.1169947257@webmail.messagingengine.com>
<45AFE234.70301@tweakers.net>
Arjen van der Meijden <acmmailing@tweakers.net> writes:
> PS, In case any of the planner-hackers are reading, here are the plans
> of the first two queries, just to see if something can be done to
> decrease the differences between them.
Increase work_mem? It's not taking the hash because it thinks it won't
fit in memory ...
There is a bug here, I'd say: the rowcount estimate ought to be the same
either way. Dunno why it's not, but will look --- I see the same
misbehavior with a toy table here.
regards, tom lane
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: tgl@sss.pgh.pa.us, acmmailing@tweakers.net, jhaile@fastmail.fm, adam.r@sbcglobal.net, banderson@presinet.com
Subject: Re: Configuration Advice
In-Reply-To: <6826.1169158297@sss.pgh.pa.us>
* 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