Re: OUTER JOIN performance regression remains in 8.3beta4 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: OUTER JOIN performance regression remains in 8.3beta4
Date
Msg-id 14456.1199828420@sss.pgh.pa.us
Whole thread Raw
In response to Re: OUTER JOIN performance regression remains in 8.3beta4  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Would it be a good idea to keep removing redundant clauses and rethink
> the preference for clauseful joins, going forward?

No --- it would create an exponential growth in planning time for large
join problems, while not actually buying anything in the typical case.

It's possible that we could do something along the lines of inserting
"dummy" join conditions, to allow particular join paths to be explored,
without generating any clause that actually requires work at runtime.
I'm not convinced this complication is needed though; at least not if
the only thing it's good for is this rather specialized optimization
rule.

            regards, tom lane

pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: 8.3.0 release schedule (Was:Re: [BUGS] BUG #3852: Could not create complex aggregate)
Next
From: Tom Lane
Date:
Subject: Re: Proposal - libpq Type System beta-0.8a (was PGparam)