pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Jeff Frost <jeff@frostconsultingllc.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: auto vacuum settings
Date: Wed, 31 Aug 2005 10:40:09 -0400
Message-ID: <20050831144009.GB4864@surnet.cl> (raw)
In-Reply-To: <1400.1125496055@sss.pgh.pa.us>
References: <43152971.1030508@winklerpartners.com>
	<27988.1125463452@sss.pgh.pa.us>
	<Pine.LNX.4.63.0508302232000.30613@discord.dyndns.org>
	<1400.1125496055@sss.pgh.pa.us>

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"



view thread (5+ messages)  latest in thread

Message-ID: <20050831144009.GB4864@surnet.cl>
Permalink:  ../20050831144009.GB4864@surnet.cl/
Also on:    postgresql.org/message-id/20050831144009.GB4864@surnet.cl

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: alvherre@alvh.no-ip.org, tgl@sss.pgh.pa.us, jeff@frostconsultingllc.com
  Subject: Re: auto vacuum settings
  In-Reply-To: <20050831144009.GB4864@surnet.cl>
  References: <43152971.1030508@winklerpartners.com> <27988.1125463452@sss.pgh.pa.us> <Pine.LNX.4.63.0508302232000.30613@discord.dyndns.org> <1400.1125496055@sss.pgh.pa.us> <20050831144009.GB4864@surnet.cl>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox