Re: GEQO and join_collapse_limit correlation

Поиск
Список
Период
Сортировка
От Juan José Santamaría Flecha
Тема Re: GEQO and join_collapse_limit correlation
Дата
Msg-id CAC+AXB0rKyPPCbnT_oq2LkKTdN+5bPRZ2gEjArqwVutaNY2=bw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: GEQO and join_collapse_limit correlation  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
Hi,

GEQO's only function, basically, is to search for the join order to use.
If you're constraining the join order completely with
join_collapse_limit=1 then forcing the GEQO path to be taken would just
add pointless overhead.  (If it does anything at all ... I don't remember
the logic exactly but we might be bright enough not to bother with GEQO in
such a situation, regardless of geqo_threshold.)
 
Got it. Thanks a lot.

Regards,

Juan José Santamaría

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: GEQO and join_collapse_limit correlation
Следующее
От: Rambabu V
Дата:
Сообщение: seeing lag in postgresql replication