Re: pg_stats question

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_stats question
Дата
Msg-id 3878.1073540954@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_stats question  (Joseph Shraibman <jks@selectacast.net>)
Список pgsql-general
Joseph Shraibman <jks@selectacast.net> writes:
> Tom Lane wrote:
>> As a trivial counterexample, if you have less than 100 distinct values
>> in your column, there definitely won't be 100 values in the
>> most-common-values list ...

> Right, but in this case I'm sure I have over 200 values.

Still, ANALYZE might not have seen all of them within its sample set of
rows.  There's inherently some sampling error involved in the process
(at least in 7.2 and later).

I don't believe 7.4 has any significant difference from 7.3 in this
area.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Problem with rserv replication
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Perl and Python modules problem