count(*) index

Поиск
Список
Период
Сортировка
От Tomka Gergely
Тема count(*) index
Дата
Msg-id Pine.LNX.4.58.0501071921050.3947@zeus.gau.hu
обсуждение исходный текст
Ответы Re: count(*) index  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-novice
Hi!

Yes, i know, mvcc, and can't use indexes. And i know the workaround for
max() and min(). Is there some workaround for count()?

select count(*) from table where field=1;

and field has a nice index. And this is slooooow.

--
Tomka Gergely
Tudom, anyu. Sapka, sál, doksi.

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

Предыдущее
От: sarlav kumar
Дата:
Сообщение: moving database to a new partition on disk
Следующее
От: "Julie Cottin"
Дата:
Сообщение: Driver Information Please