Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [GENERAL] more problems with count(*) on large table

From: Bill Moran <wmoran(at)potentialtech.com>
Date: Fri Sep 28 2007 - 14:44:35 EDT


In response to Mike Charnoky <noky@nextbus.com>:

> The autovacuum is turned on. Since this is pg8.1, I don't know when the
> table was actually last vacuumed. I *did* run analyze on the table,
> though. Also, nothing has been deleted in this table... so vacuum
> should have no affect, right?

Updated rows also produce dead tuples that require vacuuming. If the table is insert only, you don't need vacuum.

-- 
Bill Moran
http://www.potentialtech.com

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               
http://archives.postgresql.org/
Received on Fri Sep 28 14:47:41 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 11:57:43 EDT


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