pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matthew T. O'Connor <matthew@zeut.net>
To: Jim C. Nasby <jnasby@pervasive.com>
Cc: Gourish Singbal <gourish@gmail.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: auto vacuuming
Date: Fri, 31 Mar 2006 18:45:38 -0500
Message-ID: <442DBF22.6090303@zeut.net> (raw)
In-Reply-To: <20060331224733.GX49405@pervasive.com>
References: <674d1f8a0603290206u55f114e1y7bfc2f83696fbada@mail.gmail.com>
	<20060331174802.GS49405@pervasive.com>
	<20060331185037.GF14204@surnet.cl>
	<442DA0CA.1050901@zeut.net>
	<20060331224733.GX49405@pervasive.com>


>> 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?




view thread (16+ messages)  latest in thread

Message-ID: <442DBF22.6090303@zeut.net>
Permalink:  ../442DBF22.6090303@zeut.net/
Also on:    postgresql.org/message-id/442DBF22.6090303@zeut.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: matthew@zeut.net, jnasby@pervasive.com, gourish@gmail.com
  Subject: Re: auto vacuuming
  In-Reply-To: <442DBF22.6090303@zeut.net>
  References: <674d1f8a0603290206u55f114e1y7bfc2f83696fbada@mail.gmail.com> <20060331174802.GS49405@pervasive.com> <20060331185037.GF14204@surnet.cl> <442DA0CA.1050901@zeut.net> <20060331224733.GX49405@pervasive.com> <442DBF22.6090303@zeut.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox