Re: postgresql is slow with larger table even it is in RAM

Поиск
Список
Период
Сортировка
От Uwe C. Schroeder
Тема Re: postgresql is slow with larger table even it is in RAM
Дата
Msg-id 200803251055.28593.uwe@oss4u.com
обсуждение исходный текст
Ответ на Re: postgresql is slow with larger table even it is in RAM  ("sathiya psql" <sathiya.psql@gmail.com>)
Список pgsql-admin
Can you provide the output of

explain analyze select count(id) from table;

?

Uwe




On Tuesday 25 March 2008, sathiya psql wrote:
> On Tue, Mar 25, 2008 at 2:11 PM, CZUCZY Gergely
> <gergely.czuczy@harmless.hu>
>
> wrote:
> > May I ask, do you have any indeces or a primary key on that table?
>
> yes, i have both the index and primary key on a column "id",
> and am doing the
>
> SELECT count(id) from TABLE;
>
> this is taking 3 seconds

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

Предыдущее
От: "Scott Marlowe"
Дата:
Сообщение: Re: Tuning
Следующее
От: "Peter Koczan"
Дата:
Сообщение: Re: it refuses to go down...