Re: auto vacuum settings - Mailing list pgsql-admin

From Alvaro Herrera
Subject Re: auto vacuum settings
Date
Msg-id 20050831144009.GB4864@surnet.cl
Whole thread Raw
In response to Re: auto vacuum settings  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
On Wed, Aug 31, 2005 at 09:47:35AM -0400, Tom Lane wrote:
> Jeff Frost <jeff@frostconsultingllc.com> writes:
> > Since we're on the vacuum kick these days, what's the best way to tell if my
> > autovacuum settings are working well?  I'm sure I can query some info out of
> > the pg_stats tables, no?
>
> If the database isn't bloating (ie, physical storage growing faster than
> valid data volume) then it's getting the job done.  Keep an eye on
> "du $PGDATA" or pg_class.relpages entries.

Another test may be checking table stats with pgstattuple.  If the
percentage of dead rows grows as time passes, you have a problem.

--
Alvaro Herrera <alvherre[]alvh.no-ip.org>      Architect, www.EnterpriseDB.com
"Puedes vivir solo una vez, pero si lo haces bien, una vez es suficiente"

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: auto vacuum settings
Next
From: Tom Lane
Date:
Subject: Re: Question to localization