Re: Planner misestimation for JOIN with VARCHAR

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: Planner misestimation for JOIN with VARCHAR
Дата
Msg-id CAApHDvpagMB7x+vNDPZT5EfJtHw617Wve+B-V+XpYacDjvLywg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Planner misestimation for JOIN with VARCHAR  (Michael Lewis <mlewis@entrata.com>)
Список pgsql-general
On Wed, 10 Jun 2020 at 09:05, Michael Lewis <mlewis@entrata.com> wrote:
>>
>> the join selectivity functions have yet to learn about extended statistics.
>
>
> That is very interesting to me. So, extended statistics would help to properly estimate the result set coming out of
asingle table when comparing each of those columns to one or many values, but not when joining up another table? Is
thaton a roadmap or in progress as far as you know? 

Yeah, they're currently only used for selectivity estimates on base
table.  Using extended statistics for join selectivity estimation is
being worked on [1], so there's a chance that it may happen for PG14.

David

[1] https://commitfest.postgresql.org/28/2386/



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Logical replication stuck in catchup state
Следующее
От: Peter
Дата:
Сообщение: Re: Something else about Redo Logs disappearing