Re: Outer Joins - Mailing list pgsql-sql

From Josh Berkus
Subject Re: Outer Joins
Date
Msg-id 3A019C88.942D17B8@agliodbs.com
Whole thread Raw
In response to Re: Outer Joins  (Josh Berkus <josh@agliodbs.com>)
List pgsql-sql
Marc, Tom,

> Good point.  Frankly, if you have a relevant large population of data
> (>10,000 rows) to test, I'd love to see comparative execution tests
> between the two query structures.
> 
> Fortunately, this will all soon become moot; Tom says that outer joins
> have been stable in the 7.1 build for a while.  Speaking of which,
> when's the 7.1 "release"?  Huh, huh?

On second thought, couldn't we use some kind of EXCLUDES clause to
expedite this?  Tom?  

Further, it occurs to me that as in my query, you don't want to use "NOT
IN" on *either* version.  Instead, use "NOT EXISTS", which is much, much
faster.

-Josh Berkus

-- 
______AGLIO DATABASE SOLUTIONS___________________________                                       Josh Berkus  Complete
informationtechnology      josh@agliodbs.com   and data management solutions       (415) 436-9166  for law firms, small
businesses      fax  436-0137   and non-profit organizations.       pager 338-4078                               San
Francisco


pgsql-sql by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Outer Joins
Next
From: Tom Lane
Date:
Subject: Re: Re(2): Re(2): Large Object dump ?