Re: Any optimizations to the join code in 7.1? - Mailing list pgsql-hackers

From Thomas Lockhart
Subject Re: Any optimizations to the join code in 7.1?
Date
Msg-id 3AEA2195.2415244A@alumni.caltech.edu
Whole thread Raw
In response to RE: Any optimizations to the join code in 7.1?  (Mike Mascari <mascarm@mascari.com>)
Responses Re: Re: Any optimizations to the join code in 7.1?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> ... 7.1 out of the box took only 2 seconds! I was amazed
> and shocked at this damned impressive improvement in planning
> speed....until I actually used the explicit JOIN syntax described in
> 11.2. Instanteous results! Instantaneous.....

But it is possible, under many circumstances, for query optimization to
be a benefit for a many-table query. The docs indicate that explicit
join syntax bypasses that, even for inner joins, so you may find that
this syntax is a net loss in performance depending on the query and your
choice of table order.

Presumably we will be interested in making these two forms of inner join
equivalent in behavior in a future release. Tom, what are the
impediments we might encounter in doing this?
                     - Thomas


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Re: The new, the improved ... FTS Searching of Mailing List Archives
Next
From: Thomas Lockhart
Date:
Subject: Informix?