Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id E39D02E0068 for ; Thu, 8 May 2008 04:53:54 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 97958-08 for ; Thu, 8 May 2008 04:53:49 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sd-2317.dedibox.fr (sd-2317.dedibox.fr [88.191.17.192]) by developer.postgresql.org (Postfix) with ESMTP id C2D102E0055 for ; Thu, 8 May 2008 04:53:51 -0300 (ADT) Received: from [192.168.10.64] (ASte-Genev-Bois-153-1-16-150.w83-112.abo.wanadoo.fr [83.112.196.150]) by sd-2317.dedibox.fr (Postfix) with ESMTP id 140521FD4; Thu, 8 May 2008 09:53:50 +0200 (CEST) Message-ID: <4822B18D.6020905@lelarge.info> Date: Thu, 08 May 2008 09:53:49 +0200 From: Guillaume Lelarge User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 To: Barbara Stephenson CC: pgsql-admin@postgresql.org Subject: Re: Converting from 7.4.19 To 8.3.1 & want to use autovacuum References: <200805071538.42882.barbara@turbocorp.com> In-Reply-To: <200805071538.42882.barbara@turbocorp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200805/60 X-Sequence-Number: 29144 Hi, Barbara Stephenson a écrit : > We are new about autovacuum launcher on 8.3.1 and we are not sure what the > parameters should be set to. Is setting them to default ok until we can > monitor if it's vacumming too much? > You can do that. But the default are, as always with PostgreSQL, really conservative. So you'll probably need to change them because it will not vacuum enough. > Below are the parameters that we think are the only params we need to do a > basic vacuum and analyze to our entire database. > > autovacuum=true > track_counts=ture > log_autovacuum_min_duration=1000ms > autovacuum_max_workers=3(default) > autovacuum_naptime=60 > autovacuum_vacuum_threshold=50(default) > > Are the above settings all we need to start auto vacuuming? ISTM you forgot autovacuum_vacuum_scale_factor and the analyze parameters. Regards. -- Guillaume. http://www.postgresqlfr.org http://dalibo.com