Re: Outer Joins - Mailing list pgsql-sql

From Josh Berkus
Subject Re: Outer Joins
Date
Msg-id 3A01984C.7FFE3B90@agliodbs.com
Whole thread Raw
In response to Outer Joins  ("Marc Rohloff" <Marc.Rohloff@eskom.co.za>)
List pgsql-sql
Marc,

> >This would work, but it would be *much* slower than a UNION query.  "Not
> >In" queries are perhaps the slowest you can run; see the earlier thread
> >"Query Problem" for a discussion.  UNION queries are, in fact, very fast
> >... just awkward to code and manipulate.
> 
> Why should this be slower since the UNION Query still has an identical not in clause?
> This is far easier (for me) to read.

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?
                -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: Tom Lane
Date:
Subject: Re: Re: [GENERAL] Problem with coalesce..
Next
From: Josh Berkus
Date:
Subject: Re: Outer Joins