Re: temporarily stop autovacuum

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: jd(at)commandprompt(dot)com
Cc: Tatsuo Ishii <ishii(at)postgresql(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: temporarily stop autovacuum
Date: 2009-02-11 10:07:39
Message-ID: 4992A36B.9000808@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Joshua D. Drake wrote:
> On Tue, 2009-02-10 at 10:15 +0900, Tatsuo Ishii wrote:
>> Hi,
>>
>> Is there any way to stop autovacuum temporarily?(other than edit
>> postgresql.conf and reload it) Pgpool-II does not want autovacuum
>> running while doing "onlie recovery".
>
> It would be a significant hack but you could update pg_autovacuum to set
> all relations to false.

Which will no longer work in 8.4.

More generally, it was pointed out to me that users apparently do
updates of pg_autovacuum to change settings on a bunch of tables at
once. We might get some complaints if we remove that facility.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2009-02-11 10:37:20 Re: [PATCH] Psql List Languages
Previous Message Pavel Stehule 2009-02-11 10:05:03 WIP: hooking parser