Re: can't stop autovacuum by HUP'ing the server - Mailing list pgsql-hackers

From Joshua Drake
Subject Re: can't stop autovacuum by HUP'ing the server
Date
Msg-id 20080826102537.1821f3a0@jd-laptop
Whole thread Raw
In response to Re: can't stop autovacuum by HUP'ing the server  ("Dave Cramer" <pg@fastcrypt.com>)
List pgsql-hackers
On Tue, 26 Aug 2008 12:58:59 -0400
"Dave Cramer" <pg@fastcrypt.com> wrote:

> 
> Well, I'm willing to help debug this, however this is a busy
> production database and I need to be able to turn it off for a few
> hours a day. Would changing autovacuum_freeze_max_age be a solution ?

Populate the table pg_autovacuum with all your relations and the
defaults from the postgresql.conf. Then set enabled to FALSE on all the
tuples. When you are ready to turn autovacuum back on, set it to TRUE.

Joshua D. Drake



-- 
The PostgreSQL Company since 1997: http://www.commandprompt.com/ 
PostgreSQL Community Conference: http://www.postgresqlconference.org/
United States PostgreSQL Association: http://www.postgresql.us/
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate




pgsql-hackers by date:

Previous
From: "Brendan Jurd"
Date:
Subject: Re: Split up the wiki TODO page?
Next
From: Alvaro Herrera
Date:
Subject: Re: can't stop autovacuum by HUP'ing the server