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

From: "sathiya psql" <sathiya(dot)psql(at)gmail(dot)com>
To: "CZUCZY Gergely" <gergely(dot)czuczy(at)harmless(dot)hu>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: postgresql is slow with larger table even it is in RAM
Date: 2008-03-25 08:48:36
Message-ID: f966c2ee0803250148i526f0669w97c583aa03dcf2f3@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Tue, Mar 25, 2008 at 2:11 PM, CZUCZY Gergely <gergely(dot)czuczy(at)harmless(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message sathiya psql 2008-03-25 08:50:30 Re: postgresql is slow with larger table even it is in RAM
Previous Message Uwe C. Schroeder 2008-03-25 08:42:14 Re: postgresql is slow with larger table even it is in RAM