Re: hist boundary duplicates bug in head and 8.3

Поиск
Список
Период
Сортировка
От Nathan Boley
Тема Re: hist boundary duplicates bug in head and 8.3
Дата
Msg-id 6fa3b6e20901061536t50b5674r58232a559aa3e146@mail.gmail.com
обсуждение исходный текст
Ответ на Re: hist boundary duplicates bug in head and 8.3  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: hist boundary duplicates bug in head and 8.3  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
>> For heavy tailed distributions, it is possible for analyze to
>> duplicate histogram boundaries.
>
> I don't think this is a bug.

hmmm... Well, I assumed it was a bug from a comment in analyze.

From ( near ) line 2130 in analyze.c
* least 2 instances in the sample.  Also, we won't suppress values* that have a frequency of at least 1/K where K is
theintended* number of histogram bins; such values might otherwise cause us to* emit duplicate histogram bin
boundaries.*/

If this is expected, I'm also not sure what the use of maxmincount in
analyze is...

Thanks for the response,

Nathan


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Re: [COMMITTERS] pgsql: This makes all the \dX commands (most importantly to most: \df)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: hist boundary duplicates bug in head and 8.3