pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jessica Richard <rjessil@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: select count(*) from a large table is very slow
Date: Fri, 18 May 2007 06:15:25 -0700 (PDT)
Message-ID: <133912.35849.qm@web56406.mail.re3.yahoo.com> (raw)

I have a ~30 milliow row table, select count(*) from this table is very very very slow...

How dow I get it run faster?

Thanks,
Jessica

 
---------------------------------
We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.

view thread (6+ messages)  latest in thread

Message-ID: <133912.35849.qm@web56406.mail.re3.yahoo.com>
Permalink:  ../133912.35849.qm@web56406.mail.re3.yahoo.com/
Also on:    postgresql.org/message-id/133912.35849.qm@web56406.mail.re3.yahoo.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: rjessil@yahoo.com
  Subject: Re: select count(*) from a large table is very slow
  In-Reply-To: <133912.35849.qm@web56406.mail.re3.yahoo.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