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

Поиск
Список
Период
Сортировка
От Alan Hodgson
Тема Re: Why Select Count(*) from table - took over 20 minutes?
Дата
Msg-id 201010261033.51267.ahodgson@simkin.ca
обсуждение исходный текст
Ответ на Why Select Count(*) from table - took over 20 minutes?  (Ozz Nixon <ozznixon@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: Why Select Count(*) from table - took over 20 minutes?
Следующее
От: Lincoln Yeoh
Дата:
Сообщение: Re: Full text search in Chinese