Re: enabling autovacuum - Mailing list pgsql-general

From Chander Ganesan
Subject Re: enabling autovacuum
Date
Msg-id 479FE6DE.6070508@otg-nc.com
Whole thread Raw
In response to enabling autovacuum  (Jeremy Harris <jgh@wizmail.org>)
Responses Re: enabling autovacuum
List pgsql-general
Jeremy Harris wrote:
> Hi,
>
> We're starting to run autovacuum for the first time on a system
> that's been running with nightly cron-driven vacuum for some time.
>
> Version:
>  PostgreSQL 8.2.4 on i686-redhat-linux-gnu, compiled by GCC gcc (GCC)
> 4.1.2 20070418 (Red Hat 4.1.2-10)
>
> We have one problematic table, which has a steady stream of entries
> and a weekly mass-delete of ancient history.  The "bloat" query from
> Greg Sabino Mullane (thanks to Greg Smith for pointing it out) returns:
Inserts don't generate dead tuples, and AVD looks at obsolete tuples..
As such,  I wouldn't expect AVD to kick off until after you did a mass
delete...assuming that delete was sizable enough to trigger a vacuum.

--
Chander Ganesan
Open Technology Group, Inc.
One Copley Parkway, Suite 210
Morrisville, NC  27560
Phone: 877-258-8987/919-463-0999
http://www.otg-nc.com
Ask me about our Expert PostgreSQL & PostGIS Training


pgsql-general by date:

Previous
From: David Owen
Date:
Subject: Only first statement of two in update-rule is executing?
Next
From: "Joshua D. Drake"
Date:
Subject: Re: OT - pg perl DBI question