From: Tom Lane <tgl@sss.pgh.pa.us>
To: Brian Herlihy <btherl@yahoo.com.au>
Cc: Postgresql Performance <pgsql-performance@postgresql.org>
Subject: Re: Join vs Subquery
Date: Thu, 03 May 2007 10:23:42 -0400
Message-ID: <3608.1178202222@sss.pgh.pa.us> (raw)
In-Reply-To: <243066.5712.qm@web52308.mail.re2.yahoo.com>
References: <243066.5712.qm@web52308.mail.re2.yahoo.com>
Brian Herlihy <btherl@yahoo.com.au> writes:
> The issue: the second query results in a lower cost estimate. I am wondering why the second query plan was not chosen for the first query.
8.1 is incapable of pushing indexable join conditions down below an Append.
Try 8.2.
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, btherl@yahoo.com.au
Subject: Re: Join vs Subquery
In-Reply-To: <3608.1178202222@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