Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group