slow count() - Mailing list pgsql-performance

From Zavier Sheran
Subject slow count()
Date
Msg-id 20050128051756.54352.qmail@web14424.mail.yahoo.com
Whole thread Raw
Responses Re: slow count()
List 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 by date:

Previous
From: Kevin Brown
Date:
Subject: Re: [SQL] OFFSET impact on Performance???
Next
From: Thomas F.O'Connell
Date:
Subject: Triggers During COPY