select count(*) from a large table is very slow

From: Jessica Richard <rjessil(at)yahoo(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: select count(*) from a large table is very slow
Date: 2007-05-18 13:15:25
Message-ID: 133912.35849.qm@web56406.mail.re3.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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.

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Kenneth Marshall 2007-05-18 13:19:20 Re: select count(*) from a large table is very slow
Previous Message Johann Spies 2007-05-18 12:29:42 Re: ERROR: invalid memory alloc request size