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

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.

> Also, if using autovacuum, should I still do a vacuum full on a regular 
> basis?

No.  Needing to do a VACUUM FULL would be prima facie evidence that
autovacuum *isn't* getting its job done.

			regards, tom lane



view thread (5+ messages)  latest in thread

Message-ID: <1400.1125496055@sss.pgh.pa.us>
Permalink:  ../1400.1125496055@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1400.1125496055@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, jeff@frostconsultingllc.com
  Subject: Re: auto vacuum settings
  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>

* 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