Re: Need help in setting optimal configuration for a huge database.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Need help in setting optimal configuration for a huge database.
Дата
Msg-id 3994.1130019343@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Need help in setting optimal configuration for a huge database.  (Kishore B <kishorebh@gmail.com>)
Список pgsql-performance
Kishore B <kishorebh@gmail.com> writes:
> Even a basic query like select count(*) from bigger_table is
> taking about 4 minutes to return.

You do realize that "select count(*)" requires a full table scan in
Postgres?  It's never going to be fast.

If that's not where your performance problem really is, you need to
show us some of the actual problem queries.  If it is, you should
rethink why your application needs an exact row count.

            regards, tom lane

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

Предыдущее
От: "Steinar H. Gunderson"
Дата:
Сообщение: Re: Need help in setting optimal configuration for a huge database.
Следующее
От: Kishore B
Дата:
Сообщение: Re: Need help in setting optimal configuration for a huge database.