pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Chris Hoover <revoohc@gmail.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: How to turn off autovacuum
Date: Wed, 22 Mar 2006 14:35:28 -0500
Message-ID: <18865.1143056128@sss.pgh.pa.us> (raw)
In-Reply-To: <1d219a6f0603221110v55c3ebcbm2461a67e61d87945@mail.gmail.com>
References: <1d219a6f0603221110v55c3ebcbm2461a67e61d87945@mail.gmail.com>

"Chris Hoover" <revoohc@gmail.com> writes:
> Question, if I turn on autovacuum in PG 8.1, how do I turn it off?

> The reason behind this question is that we would love to turn it on and try
> it in our production systems.  However, if we find that it is causing to
> much i/o load, we need to be able to turn it off on a moments notice with
> out stopping the database.

Not a problem, you can change the autovacuum parameters with just a
SIGHUP to the postmaster, no need to restart anything.

If you really mean you want to kill it NOW, rather than letting the
current autovac pass finish out, I think a SIGINT to the autovac
process will take care of it.

			regards, tom lane



view thread (2+ messages)

Message-ID: <18865.1143056128@sss.pgh.pa.us>
Permalink:  ../18865.1143056128@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18865.1143056128@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, revoohc@gmail.com
  Subject: Re: How to turn off autovacuum
  In-Reply-To: <18865.1143056128@sss.pgh.pa.us>
  References: <1d219a6f0603221110v55c3ebcbm2461a67e61d87945@mail.gmail.com> <18865.1143056128@sss.pgh.pa.us>

* 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