X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 301B99DD625 for ; Wed, 22 Mar 2006 15:35:31 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 24937-07-2 for ; Wed, 22 Mar 2006 15:35:31 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 843B49DD622 for ; Wed, 22 Mar 2006 15:35:28 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id k2MJZSUX018866; Wed, 22 Mar 2006 14:35:28 -0500 (EST) To: "Chris Hoover" cc: "pgsql-admin@postgresql.org" Subject: Re: How to turn off autovacuum In-reply-to: <1d219a6f0603221110v55c3ebcbm2461a67e61d87945@mail.gmail.com> References: <1d219a6f0603221110v55c3ebcbm2461a67e61d87945@mail.gmail.com> Comments: In-reply-to "Chris Hoover" message dated "Wed, 22 Mar 2006 14:10:09 -0500" Date: Wed, 22 Mar 2006 14:35:28 -0500 Message-ID: <18865.1143056128@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.114 required=5 tests=[AWL=0.114] X-Spam-Score: 0.114 X-Spam-Level: X-Archive-Number: 200603/213 X-Sequence-Number: 20970 "Chris Hoover" 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