Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id AC18F64FFC0 for ; Mon, 21 Jul 2008 13:39:01 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 77024-08 for ; Mon, 21 Jul 2008 13:38:57 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from lists.commandprompt.com (host-159.commandprompt.net [207.173.203.159]) by postgresql.org (Postfix) with ESMTP id B70DA64FD13 for ; Mon, 21 Jul 2008 13:38:57 -0300 (ADT) Received: from perhan.alvh.no-ip.org (190-95-31-93.bk17-dsl.surnet.cl [190.95.31.93]) (authenticated bits=0) by lists.commandprompt.com (8.13.8/8.13.8) with ESMTP id m6LGfHV6024667 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 21 Jul 2008 09:41:20 -0700 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 3152747C83; Mon, 21 Jul 2008 12:38:52 -0400 (CLT) Date: Mon, 21 Jul 2008 12:38:52 -0400 From: Alvaro Herrera To: Ernesto Eduardo Medina =?iso-8859-1?B?TvrxZXo=?= Cc: pgsql-admin@postgresql.org Subject: Re: auto vacuum for opentaps Message-ID: <20080721163852.GI5842@alvh.no-ip.org> References: <18cc0be90807210841l637556ffl7a239a10bc45c285@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <18cc0be90807210841l637556ffl7a239a10bc45c285@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (lists.commandprompt.com [207.173.203.159]); Mon, 21 Jul 2008 09:41:21 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200807/181 X-Sequence-Number: 29791 Ernesto Eduardo Medina Núñez escribió: Hi, > *autovacuum = on * # enable autovacuum subprocess? > #autovacuum_naptime = 60 # time between autovacuum runs, in > secs > #autovacuum_vacuum_threshold = 1000 # min # of tuple updates before > # vacuum > #autovacuum_analyze_threshold = 500 # min # of tuple updates before > analyze > #autovacuum_vacuum_scale_factor = 0.4 # fraction of rel size before vacuum > #autovacuum_analyze_scale_factor = 0.2 # fraction of rel size before > analyze The thresholds and scale_factors that came with this release were too conservative. I suggest reducing them to 50 and 0.1, respectively. -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.