Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id D5D169FBA10 for ; Mon, 5 Mar 2007 16:27:04 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 63313-03 for ; Mon, 5 Mar 2007 16:27:01 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from av1.karneval.cz (av1.karneval.cz [81.27.192.123]) by postgresql.org (Postfix) with ESMTP id 6E5B59FB9FF for ; Mon, 5 Mar 2007 16:27:00 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by av1.karneval.cz (Postfix) with ESMTP id 90D8C3D9030; Mon, 5 Mar 2007 21:26:56 +0100 (CET) Received: from av1.karneval.cz ([127.0.0.1]) by localhost (av1 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22700-05; Mon, 5 Mar 2007 21:26:54 +0100 (CET) Received: from mail.karneval.cz (mx1.karneval.cz [81.27.192.53]) by av1.karneval.cz (Postfix) with ESMTP id AEF9A3D902A; Mon, 5 Mar 2007 21:26:54 +0100 (CET) Received: from [192.168.2.110] (bzq-88-154-153-180.red.bezeqint.net [88.154.153.180]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.karneval.cz (Postfix) with ESMTP id 0C6AB5E67F9; Mon, 5 Mar 2007 21:26:53 +0100 (CET) Message-ID: <45EC7D05.60204@fuzzy.cz> Date: Mon, 05 Mar 2007 21:26:45 +0100 From: Tomas Vondra User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Steven Flatt CC: pgsql-performance@postgresql.org Subject: Re: Turning off Autovacuum References: <357fa7590703050800u5954e55fyc806ee19fb1f161@mail.gmail.com> In-Reply-To: <357fa7590703050800u5954e55fyc806ee19fb1f161@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by karneval.cz X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.136 tagged_above=0 required=5 tests=BAYES_50, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200703/95 X-Sequence-Number: 23500 If you want to disable it only for some tables, you can put special values into pg_autovacuum. This won't disable the autovacuum daemon, but some of the tables won't be vacuumed. Tomas > Not quite a performance question, but I can't seem to find a simple > answer to this. We're using 8.1.4 and the autovacuum daemon is > running every 40 seconds cycling between 3 databases. What is the > easiest way to disable the autovacuumer for a minute or two, do some > other work, then re-enable it? Do I have to modify postgresql.conf > and send a HUP signal to pick up the changes? > > I figured this would work but I can't find a reason why not: > > # show autovacuum; > autovacuum > ------------ > on > (1 row) > > # set autovacuum to off; > ERROR: parameter "autovacuum" cannot be changed now > > In postgresql.conf: > > autovacuum = on > > Thanks, > > Steve >