Re: Outer Joins

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: sqllist <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Outer Joins
Date: 2000-11-02 16:55:36
Message-ID: 3A019C88.942D17B8@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 information technology josh(at)agliodbs(dot)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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2000-11-02 17:17:05 Re: Re(2): Re(2): Large Object dump ?
Previous Message Josh Berkus 2000-11-02 16:37:32 Re: Outer Joins