From: Alvaro Herrera <alvherre@commandprompt.com>
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 14:50:37 -0400
Message-ID: <20060331185037.GF14204@surnet.cl> (raw)
In-Reply-To: <20060331174802.GS49405@pervasive.com>
References: <674d1f8a0603290206u55f114e1y7bfc2f83696fbada@mail.gmail.com>
<20060331174802.GS49405@pervasive.com>
Jim C. Nasby wrote:
> On Wed, Mar 29, 2006 at 03:36:36PM +0530, Gourish Singbal wrote:
> > we are using postgresql 8.1.3 and wanted to enable autovacuuming for only
> > one of the many databases on the same postgresql cluster.
> > pg_autovacuum seems to allow to ignore only a particular table and not the
> > database since column vacrelid is OID from pg_class table Are there any
> > suggestions to accomplish this tasks?.
>
> Currently there is no way to exclude entire databases from autovacuum.
IIRC in one of the original patches I had added a way to do it. It was
rejected however; it was argued that there was another mechanism to
disable it. I don't remember what it was though. The only possibility
that comes to mind is "ALTER DATABASE SET autovacuum TO off" but I don't
see why would it work.
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
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: alvherre@commandprompt.com, jnasby@pervasive.com, gourish@gmail.com
Subject: Re: auto vacuuming
In-Reply-To: <20060331185037.GF14204@surnet.cl>
References: <674d1f8a0603290206u55f114e1y7bfc2f83696fbada@mail.gmail.com> <20060331174802.GS49405@pervasive.com> <20060331185037.GF14204@surnet.cl>
* 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