Re: wrong rows and cost estimation when generic plan

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: wrong rows and cost estimation when generic plan
Дата
Msg-id CAApHDvoUCEAVcsjAHBRAcjh2tFqd6Spi0EHcT__QhEAiWuJWmQ@mail.gmail.com
обсуждение исходный текст
Ответ на RE: wrong rows and cost estimation when generic plan  ("James Pang (chaolpan)" <chaolpan@cisco.com>)
Список pgsql-performance
On Tue, 6 Dec 2022 at 20:17, James Pang (chaolpan) <chaolpan@cisco.com> wrote:
>  Could you provide the function name for generic plan selectivity estimation?

If you look at eqsel_internal(), you'll see there are two functions
that it'll call var_eq_const() for Consts and otherwise
var_eq_non_const(). It'll take the non-Const path for planning generic
plans.

David



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

Предыдущее
От: "James Pang (chaolpan)"
Дата:
Сообщение: RE: wrong rows and cost estimation when generic plan
Следующее
От: Jordan Hurwich
Дата:
Сообщение: Increased iowait and blk_read_time with higher shared_buffers