slow count()

Поиск
Список
Период
Сортировка
От Zavier Sheran
Тема slow count()
Дата
Msg-id 20050128051756.54352.qmail@web14424.mail.yahoo.com
обсуждение исходный текст
Ответы Re: slow count()  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-performance
quote from manual:
--
Unfortunately, there is no similarly trivial query
that can be used to improve the performance of count()
when applied to the entire table
--

does count(1) also cause a sequential scan of the
entire table? It should be able to just use the
primary keys.

-Zavier

=====
---
zavier.net - Internet Solutions
---



__________________________________
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250

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

Предыдущее
От: Kevin Brown
Дата:
Сообщение: Re: [SQL] OFFSET impact on Performance???
Следующее
От: Thomas F.O'Connell
Дата:
Сообщение: Triggers During COPY