Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 0B52E9FB2E5 for ; Mon, 5 Mar 2007 12:00:58 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 03327-04 for ; Mon, 5 Mar 2007 12:00:50 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.224]) by postgresql.org (Postfix) with ESMTP id 238349FB229 for ; Mon, 5 Mar 2007 12:00:49 -0400 (AST) Received: by wx-out-0506.google.com with SMTP id i28so1680576wxd for ; Mon, 05 Mar 2007 08:00:49 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=Mww1QOnS7HbESKvU+yugDaw213d1LZ3qbLij7HZDZbg+MceONzGq0Gmkz0oGrvHGDmo55aaKRK4aQMJ0zqiqTJweUUw52gbZ5jUXgi0DyxHkye6wgyAMHq5Y6RNoPi+jcADzHA3IIdVIvpLrg0ew2tnr1y/DeuyLcx09prV2x/E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=c/q2hziKXp1JxSHYlcoTSzbdJXaZMpzwV33IzypZtTbn8643PzAeE8yvod7AlpH+qe1XwDobyBX+gSitqoWFRnOh8jNSM4jK+FCcGbBnxlsnzEvUoKFzpC7Pm112VZ9n65NT7fFJsvpuRHRKpk7otKLpcqYj9cyHOHlUektfDD8= Received: by 10.70.65.8 with SMTP id n8mr9962132wxa.1173110448860; Mon, 05 Mar 2007 08:00:48 -0800 (PST) Received: by 10.70.109.16 with HTTP; Mon, 5 Mar 2007 08:00:48 -0800 (PST) Message-ID: <357fa7590703050800u5954e55fyc806ee19fb1f161@mail.gmail.com> Date: Mon, 5 Mar 2007 11:00:48 -0500 From: "Steven Flatt" To: pgsql-performance@postgresql.org Subject: Turning off Autovacuum MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_32597_10631839.1173110448823" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200703/91 X-Sequence-Number: 23496 ------=_Part_32597_10631839.1173110448823 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_32597_10631839.1173110448823 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
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

------=_Part_32597_10631839.1173110448823--