Re: auto vacuuming

From: "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>
To: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Cc: Gourish Singbal <gourish(at)gmail(dot)com>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: auto vacuuming
Date: 2006-03-31 23:45:38
Message-ID: 442DBF22.6090303@zeut.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


>> I think the closest approximation of disabling autovacuum on a per
>> database basis is to connect to the database in question and perform:
>>
>> update pg_autovacuum set enabled = 'false';
>>
>> This will prevent autovacuum from vacuuming or analyzing any of the
>> tables in the database, but will still check for XID wraparound.
>>
>
> Problem with that is any time you add a table you'd need to re-run that
> command. Wouldn't be so bad if we had DDL triggers, but...
>

Probably a dumb comment, but can you set a default value for the enabled
column?

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2006-04-01 03:17:47 Re: auto vacuuming
Previous Message Jim C. Nasby 2006-03-31 22:47:33 Re: auto vacuuming