Re: Why is n_distinct always -1 for range types?

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Why is n_distinct always -1 for range types?
Дата
Msg-id 52431D6B.30302@agliodbs.com
обсуждение исходный текст
Ответ на Why is n_distinct always -1 for range types?  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-performance
On 09/19/2013 01:47 PM, Josh Berkus wrote:
> Test:
>
> 1. create a table with a range type column.
> 2. insert 1000 identical values into that column.
> 3. analyze
> 4. n-distinct will still be listed as -1 (unique) for the column.
>
> Why?
>

Anyone?

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com


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

Предыдущее
От: Claudio Freire
Дата:
Сообщение: Re: Slow plan for MAX/MIN or LIMIT 1?
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Planner performance extremely affected by an hanging transaction (20-30 times)?