Re: Join vs Subquery - Mailing list pgsql-performance

From Tom Lane
Subject Re: Join vs Subquery
Date
Msg-id 3608.1178202222@sss.pgh.pa.us
Whole thread Raw
In response to Join vs Subquery  (Brian Herlihy <btherl@yahoo.com.au>)
List pgsql-performance
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
chosenfor the first query. 

8.1 is incapable of pushing indexable join conditions down below an Append.
Try 8.2.

            regards, tom lane

pgsql-performance by date:

Previous
From: Gregory Stark
Date:
Subject: Re: Join vs Subquery
Next
From: Greg Smith
Date:
Subject: pg_stat_* collection