Re: Why count(*) doest use index?

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: Why count(*) doest use index?
Дата
Msg-id 4D72BD57.8090801@hogranch.com
обсуждение исходный текст
Ответ на Re: Why count(*) doest use index?  (Allan Kamau <kamauallan@gmail.com>)
Ответы Re: Why count(*) doest use index?  (Willy-Bas Loos <willybas@gmail.com>)
Re: Why count(*) doest use index?  (Allan Kamau <kamauallan@gmail.com>)
Список pgsql-general
On 03/05/11 2:05 PM, Allan Kamau wrote:
> Is it possible in theory to efficiently perform count the primary or
> unique indices underlying data structures, regardless whether there is
> a WHERE clause detailing filtration base on values from such index or
> not?

indexes are not exact, due to possibly constant changes in the current
number of visible elements in the relation.





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

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: PHP array to PlPgSQL arrat. How to?
Следующее
От: Willy-Bas Loos
Дата:
Сообщение: Re: Why count(*) doest use index?