Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

[NOVICE] Long count(*) time

From: David Monarchi <david.e.monarchi(at)gmail.com>
Date: Tue Sep 25 2007 - 16:02:49 EDT


Hello -

I'm running PG 8.2 on an 8-processor 16G Unix machine. The machine is dedicated to the db, and only 5 threads/processors are busy. The following query takes 70 seconds to execute.

     select count(*) from url_list_url;
There are 64,219,173 rows in the table. The table consists of an integer field and a text field. The average length of the text field is 50 characters. There are btree indexes on both fields. The integer field is the key.

70 seconds seems to be a long time for this kind of query. Is this normal?

Thanks.

David Received on Tue Sep 25 16:05:14 2007

This archive was generated by hypermail 2.1.8 : Mon Oct 08 2007 - 17:49:45 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library