Re: GEQO vs join order restrictions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: GEQO vs join order restrictions
Дата
Msg-id 4152.1248030503@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: GEQO vs join order restrictions  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: GEQO vs join order restrictions  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> Tom, do you think the "independent subproblem" stuff from last night
> would be worth pursuing?

It's worth looking into.  I'm not certain if it will end up being a good
idea or not.  Right now the joinlist collapse code is pretty stupid
(as you know --- it only thinks about the collapse_limit variables,
plus IIRC it knows about FULL JOIN).  Making it smarter might result in
duplication of logic, or require unpleasant refactoring to avoid such
duplication, or even add more cycles than it's likely to save later on.
Another issue is order of operations: I'm not sure if all the
information needed to make such decisions has been computed at that
point.  But we won't know unless we try it.  It seems at least
potentially useful.
        regards, tom lane


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: GEQO vs join order restrictions
Следующее
От: Dean Rasheed
Дата:
Сообщение: Re: WIP: Deferrable unique constraints