pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Luke Lonergan <llonergan@greenplum.com>
To: Peter Koczan <pjkoczan@gmail.com>
To: sathiya psql <sathiya.psql@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: postgresql is slow with larger table even it is in RAM
Date: Thu, 27 Mar 2008 10:32:44 -0700
Message-ID: <C411284C.58842%llonergan@greenplum.com> (raw)
In-Reply-To: <4544e0330803261648l6b299d0ckc938f44a822d4d0e@mail.gmail.com>

So your table is about 80 MB in size, or perhaps 120 MB if it fits in
shared_buffers.  You can check it using ³SELECT
pg_size_pretty(pg_relation_size(Œmytable¹))²

- Luke  


On 3/26/08 4:48 PM, "Peter Koczan" <pjkoczan@gmail.com> wrote:

> FWIW, I did a select count(*) on a table with just over 300000 rows,
> and it only took 0.28 sec.

view thread (13+ messages)

Message-ID: <C411284C.58842%llonergan@greenplum.com>
Permalink:  ../C411284C.58842%25llonergan@greenplum.com/
Also on:    postgresql.org/message-id/C411284C.58842%llonergan@greenplum.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-performance@postgresql.org
  Cc: llonergan@greenplum.com, pjkoczan@gmail.com, sathiya.psql@gmail.com
  Subject: Re: postgresql is slow with larger table even it is in RAM
  In-Reply-To: <C411284C.58842%llonergan@greenplum.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