Re: OUTER JOIN performance regression remains in 8.3beta4

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: OUTER JOIN performance regression remains in 8.3beta4
Дата
Msg-id 14456.1199828420@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: OUTER JOIN performance regression remains in 8.3beta4  (Alvaro Herrera <alvherre@commandprompt.com>)
Список 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 по дате отправления:

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: 8.3.0 release schedule (Was:Re: [BUGS] BUG #3852: Could not create complex aggregate)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Proposal - libpq Type System beta-0.8a (was PGparam)