Re: AutoVacuum on demand?

From: "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>
To: Glen Parker <glenebob(at)nwlink(dot)com>
Cc: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: AutoVacuum on demand?
Date: 2006-11-13 17:43:29
Message-ID: 4558AEC1.9010104@zeut.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Glen Parker wrote:
> I would like a way to run the autovacuum daemon on demand
> periodically. Every night at 2 AM, for example.
>
> Anybody know if this is possible? If not, it's a feature request :-)

Autovacuum can be enabled / disabled on the fly using the GUC settings.
Perhaps you can write a cron script that runs at 2AM that enables
autovac, and at 6AM (just a guess) disables it in the same fashion. I
think that should work.

Would be curious to hear your results.

Matt

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Davis 2006-11-13 17:49:36 Re: Inserting data in composite types
Previous Message Ian Harding 2006-11-13 15:43:52 Re: Why overlaps is not working