Re: allowing extensions to control planner behavior

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: allowing extensions to control planner behavior
Дата
Msg-id CA+TgmobH2CyoVuNOmzZarspGYbLEtjLax3FgP1ubrAo2tqhvxg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: allowing extensions to control planner behavior  (Andrei Lepikhov <lepihov@gmail.com>)
Список pgsql-hackers
On Wed, Oct 23, 2024 at 11:51 AM Andrei Lepikhov <lepihov@gmail.com> wrote:
> Parse tree may be implemented with multiple execution plans. Even
> clauses can be transformed during optimisation (Remember OR -> ANY).
> Also, the cardinality of a middle-tree join depends on the inner and
> outer subtrees. Because of that, having a hash on RelOptInfo's relids
> and restrictions + hashes of child RelOptInfos and carrying it through
> all other stages up to the end of execution is the most stable approach
> I know.

I'm not saying there's a better way to do it today. I'm saying I think
there SHOULD be a better way to do it.

--
Robert Haas
EDB: http://www.enterprisedb.com



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