Re: Still recommending daily vacuum...

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: "Jim C(dot) Nasby" <decibel(at)decibel(dot)org>, pgsql-hackers(at)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: Still recommending daily vacuum...
Date: 2007-07-06 20:44:22
Message-ID: 20070706204422.GD15358@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Kevin Grittner wrote:

> This all started with the question about whether the documentation should
> say anything about vacuum schedules other than "enable autovacuum."
> My point was that I have a use case where I think that a scheduled vacuum
> will be better than leaving everything to autovacuum. I may not be the only
> one, so I'm thinking the documentation should discuss where an explicit
> schedule might be useful.

Fair enough, you are correct that this scenario may be a useful one to
describe in the docs.

There are plans to add some sort of scheduling to autovacuum so that it
choses different settings based on time/date. It may be useful for you
as well (though of course they are 8.4 material at best ...), and we may
consider shrinking the docs (or at least reshaping them) a bit at that
time.

> The changes sound good, but I don't see the point of having any vacuum
> activity during the work week on the big tables in the database I was
> describing.

Of course.

--
Alvaro Herrera Valdivia, Chile ICBM: S 39º 49' 18.1", W 73º 13' 56.4"
"A wizard is never late, Frodo Baggins, nor is he early.
He arrives precisely when he means to." (Gandalf, en LoTR FoTR)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Smith 2007-07-06 21:07:16 Re: Bgwriter strategies
Previous Message Kevin Grittner 2007-07-06 20:39:27 Re: Still recommending daily vacuum...

Browse pgsql-patches by date

  From Date Subject
Next Message Joe Conway 2007-07-07 05:00:51 Re: dblink connection security
Previous Message Kevin Grittner 2007-07-06 20:39:27 Re: Still recommending daily vacuum...