Re: Vaccuum best practice: cronjob or autovaccuum? - Mailing list pgsql-general

From Andrew Sullivan
Subject Re: Vaccuum best practice: cronjob or autovaccuum?
Date
Msg-id 20080828162743.GA26301@commandprompt.com
Whole thread Raw
In response to Re: Vaccuum best practice: cronjob or autovaccuum?  (Joao Ferreira gmail <joao.miguel.c.ferreira@gmail.com>)
List pgsql-general
On Thu, Aug 28, 2008 at 05:15:06PM +0100, Joao Ferreira gmail wrote:

> When autovacuum was introduced, I kept the weekly VACUUM FULL because it
> efectively brings disk ocupatio down, dispite it grows back after a few
> hours. It's just re-assuring to me to make sure that at least one of the
> vacuums it's working when I see the weekly drop of disk ocupation.

It actually bloats your index and hurts you.  Don't do that.  If the
number of tuples in your various tables is staying about the same,
your size on disk should stabilise.  That's the thing you want to see.

A

--
Andrew Sullivan
ajs@commandprompt.com
+1 503 667 4564 x104
http://www.commandprompt.com/

pgsql-general by date:

Previous
From: "Mason Hale"
Date:
Subject: Poor planner estimation with partitioned tables
Next
From: Jeff Davis
Date:
Subject: Re: strange explain analyze output