Re: proposal : cross-column stats

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: proposal : cross-column stats
Дата
Msg-id 6282.1292621049@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: proposal : cross-column stats  (Tomas Vondra <tv@fuzzy.cz>)
Ответы Re: proposal : cross-column stats  (Tomas Vondra <tv@fuzzy.cz>)
Список pgsql-hackers
Tomas Vondra <tv@fuzzy.cz> writes:
> AFAIK it will work with reasonably precise estimates, but the point is
> you need an estimate of distinct values of the whole group of columns.
> So when you want to get an estimate for queries on columns (a,b), you
> need the number of distinct value combinations of these two columns.

That seems likely to be even more unreliable than our existing
single-column estimates :-(
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: ps_status on fastpath
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: proposal : cross-column stats