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

Поиск
Список
Период
Сортировка
От sathiya psql
Тема Re: postgresql is slow with larger table even it is in RAM
Дата
Msg-id f966c2ee0803250148i526f0669w97c583aa03dcf2f3@mail.gmail.com
обсуждение исходный текст
Ответ на postgresql is slow with larger table even it is in RAM  ("sathiya psql" <sathiya.psql@gmail.com>)
Ответы Re: postgresql is slow with larger table even it is in RAM  ("Uwe C. Schroeder" <uwe@oss4u.com>)
Re: postgresql is slow with larger table even it is in RAM  ("=?ISO-8859-1?Q?Elvis_Henr=EDquez?=" <henriquez.elvis@gmail.com>)
Список pgsql-admin


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 по дате отправления:

Предыдущее
От: "Uwe C. Schroeder"
Дата:
Сообщение: Re: postgresql is slow with larger table even it is in RAM
Следующее
От: "sathiya psql"
Дата:
Сообщение: Re: postgresql is slow with larger table even it is in RAM