Re: Why Select Count(*) from table - took over 20 minutes?

From: Ozz Nixon <ozznixon(at)gmail(dot)com>
To: Merlin Moncure <mmoncure(at)gmail(dot)com>
Cc: Diego Schulz <dschulz(at)gmail(dot)com>, PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: Why Select Count(*) from table - took over 20 minutes?
Date: 2010-10-28 15:36:21
Message-ID: B6CED44A-2607-4AD1-8172-024A649D9353@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

How/where do I query this?

My script does not need a 100% accurate count - just a recently valid count - so I can verify the web crawlers are still crawling :-)

On Oct 27, 2010, at 7:15 AM, Merlin Moncure wrote:

> pg_class.reltuples

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message ludwig 2010-10-28 15:52:53 Re: PostGIS return multiple points
Previous Message John Cheng 2010-10-28 15:28:24 earthdistance or PostGIS for find * within point and radius