Re: Understanding histograms

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Understanding histograms
Дата
Msg-id 561.1209616867@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Understanding histograms  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-performance
Gregory Stark <stark@enterprisedb.com> writes:
> This is something that needs some serious thought though. In the case of
> partitioned tables I've seen someone get badly messed up plans because they
> had a couple hundred partitions each of which estimated to return 1 row. In
> fact of course they all returned 0 rows except the correct partition. (This
> was in a join so no constraint exclusion)

Yeah, one of the things we need to have a "serious" partitioning
solution is to get the planner's estimation code to understand
what's happening there.

            regards, tom lane

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

Предыдущее
От: "Marc G. Fournier"
Дата:
Сообщение: Please ignore ...
Следующее
От: "D'Arcy J.M. Cain"
Дата:
Сообщение: Re: Please ignore ...