Re: exponential time growth of handling subqueries

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: exponential time growth of handling subqueries
Дата
Msg-id 3632.1066089058@sss.pgh.pa.us
обсуждение исходный текст
Ответ на exponential time growth of handling subqueries  (Greg Stark <gsstark@mit.edu>)
Список pgsql-hackers
Greg Stark <gsstark@mit.edu> writes:
> This is sort of interesting. It seems the time required for the optimizer to
> handle a query doubles with every layer of subquery it has to dig through.

Seems to be due to some brain fade in pull_up_subqueries --- the thing
was constructing truly monstrous rangetables due to poorly thought out
recursive modification of the parse tree :-(.  Patch applied in CVS tip.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jan Wieck
Дата:
Сообщение: Re: Heading to final release
Следующее
От: Rod Taylor
Дата:
Сообщение: Re: Heading to final release