Re: Any idea on how to improve the statistics estimates for this plan?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Any idea on how to improve the statistics estimates for this plan?
Дата
Msg-id 2904.1354940205@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Any idea on how to improve the statistics estimates for this plan?  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-performance
Jeff Janes <jeff.janes@gmail.com> writes:
> The trivial answer to "why" is that it thinks that the vast majority
> of the 33914 rows from the hash join will find no partners in r, but
> in fact each has about 10 partner in r.  Why does it think that?

I'm wondering if maybe the vast majority of the rows indeed have no join
partners, but there are a small number with a large number of partners.
The statistics might miss these, if so.

            regards, tom lane


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

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: Any idea on how to improve the statistics estimates for this plan?
Следующее
От: Guillaume Smet
Дата:
Сообщение: Re: Any idea on how to improve the statistics estimates for this plan?