Re: Why Select Count(*) from table - took over 20 minutes? - Mailing list pgsql-general

From Alan Hodgson
Subject Re: Why Select Count(*) from table - took over 20 minutes?
Date
Msg-id 201010261033.51267.ahodgson@simkin.ca
Whole thread Raw
In response to Why Select Count(*) from table - took over 20 minutes?  (Ozz Nixon <ozznixon@gmail.com>)
List pgsql-general
On October 26, 2010 10:18:41 am Ozz Nixon wrote:
> I have hung off indexes for each column, to resolve my previous
> "performance" issue from 3+ weeks ago. However, COUNT() is still dog slow
> - this table is a write once, read many... *never* update, nor delete.
>
> Any suggestions?

If you need to do count(*) on 60 million row tables, you will probably need
faster hardware.

pgsql-general by date:

Previous
From: John R Pierce
Date:
Subject: Re: Why Select Count(*) from table - took over 20 minutes?
Next
From: Lincoln Yeoh
Date:
Subject: Re: Full text search in Chinese