Received: from localhost (unknown [200.46.204.184]) by developer.postgresql.org (Postfix) with ESMTP id 8D85E2E0057 for ; Thu, 8 May 2008 08:57:38 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 46107-10 for ; Thu, 8 May 2008 08:57:25 -0300 (ADT) X-Greylist: delayed 00:05:01.393018 by SQLgrey-1.7.6 Received: from fmailhost01.isp.att.net (fmailhost04.isp.att.net [204.127.217.104]) by developer.postgresql.org (Postfix) with ESMTP id 30FE32E002D for ; Thu, 8 May 2008 08:57:32 -0300 (ADT) Received: from [192.168.1.92] (adsl-074-232-167-068.sip.asm.bellsouth.net[74.232.167.68]) by isp.att.net (frfwmhc04) with ESMTP id <20080508115228H04001m406e>; Thu, 8 May 2008 11:52:28 +0000 X-Originating-IP: [74.232.167.68] From: Barbara Stephenson To: pgsql-admin@postgresql.org Subject: Re: Converting from 7.4.19 To 8.3.1 & want to use autovacuum Date: Thu, 8 May 2008 07:51:54 -0400 User-Agent: KMail/1.7.1 Cc: Guillaume Lelarge References: <200805071538.42882.barbara@turbocorp.com> <4822B18D.6020905@lelarge.info> In-Reply-To: <4822B18D.6020905@lelarge.info> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200805080751.54596.barbara@turbocorp.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.881 tagged_above=0 required=5 tests=AWL=0.881 X-Spam-Level: X-Archive-Number: 200805/62 X-Sequence-Number: 29146 Oh I have to look at the other parameters. Once the database is up and it'= s=20 not vacuuming like we want how do we make changes to the conf file while th= e=20 database is running? Some signal? Guillaume Lelarge wrote: > Hi, > > Barbara Stephenson a =E9crit : > > 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=3Dtrue > > track_counts=3Dture > > log_autovacuum_min_duration=3D1000ms > > autovacuum_max_workers=3D3(default) > > autovacuum_naptime=3D60 > > autovacuum_vacuum_threshold=3D50(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 =2D-=20 Regards, Barbara Stephenson EDI Specialist/Programmer Turbo, division of Ozburn-Hessey Logistics 2251 Jesse Jewell Pkwy NE Gainesville, GA 30507 tel: (678)989-3020 fax: (404)935-6171 barbara@turbocorp.com www.ohlogistics.com