Re: Proposal - improve eqsel estimates by including histogram bucket numdistinct statistics

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: Proposal - improve eqsel estimates by including histogram bucket numdistinct statistics
Дата
Msg-id 1213122760.24243.48.camel@dogma.ljc.laika.com
обсуждение исходный текст
Ответ на Re: Proposal - improve eqsel estimates by including histogram bucket numdistinct statistics  ("Nathan Boley" <npboley@gmail.com>)
Ответы Re: Proposal - improve eqsel estimates by including histogram bucket numdistinct statistics
Список pgsql-hackers
On Tue, 2008-06-10 at 08:51 -0700, Nathan Boley wrote:
> >> > One more problem with low ndistinct values is that the condition might very well
> >> > hit no rows at all. But Idea 1 will largely overestimate the number of hits.
> 
> Thats a good point, but I don't see a clear solution. Maybe we could

I think that MCVs are the solution, right? A low ndistinct means that
those values will likely be MCVs.

Since you brought up a different process for choosing MCVs, maybe a
better name might be "Most Interesting Values".

Regards,Jeff Davis





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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Overhauling GUCS
Следующее
От: Ron Mayer
Дата:
Сообщение: Re: Overhauling GUCS