pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: sathiya psql <sathiya.psql@gmail.com>
To: CZUCZY Gergely <gergely.czuczy@harmless.hu>
Cc: pgsql-admin@postgresql.org
Subject: Re: postgresql is slow with larger table even it is in RAM
Date: Tue, 25 Mar 2008 14:18:36 +0530
Message-ID: <f966c2ee0803250148i526f0669w97c583aa03dcf2f3@mail.gmail.com> (raw)
In-Reply-To: <20080325094147.40317ea2@twoflower.in.publishing.hu>
References: <f966c2ee0803250136j2b44a10j4fb54afbee3ed8ed@mail.gmail.com>
	<20080325094147.40317ea2@twoflower.in.publishing.hu>

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

view thread (8+ messages)  latest in thread

Message-ID: <f966c2ee0803250148i526f0669w97c583aa03dcf2f3@mail.gmail.com>
Permalink:  ../f966c2ee0803250148i526f0669w97c583aa03dcf2f3@mail.gmail.com/
Also on:    postgresql.org/message-id/f966c2ee0803250148i526f0669w97c583aa03dcf2f3@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: sathiya.psql@gmail.com, gergely.czuczy@harmless.hu
  Subject: Re: postgresql is slow with larger table even it is in RAM
  In-Reply-To: <f966c2ee0803250148i526f0669w97c583aa03dcf2f3@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox