Monday, August 25, 2008

Re: [HACKERS] can't stop autovacuum by HUP'ing the server

On 24-Aug-08, at 10:17 PM, Alvaro Herrera wrote:

> Hi Dave,
>
> Dave Cramer wrote:
>> I'd like to stop autovac by changing the conf file then sending the
>> server a HUP
>>
>> This "appears" to work, the logs show autovac terminated by
>> administrative command. Then a few minutes later I see a vacuum
>> process
>> spawned.
>>
>> Is it possible that there are timers that aren't being properly
>> terminated here ?
>
> I wonder whether there are tables that need an emergency vacuum (i.e.
> they have reached the freeze horizon). What version are you running
> anyway?
>
version 8.3 and doubtful.

Since a number of people actually do this it would seem like a better
way to temporarily suspend autovac should be on the todo ?

Dave
> --
> Alvaro Herrera http://www.CommandPrompt.com/
> PostgreSQL Replication, Consulting, Custom Development, 24x7 support


--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

No comments: