X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 17A8E9DC883 for ; Tue, 14 Mar 2006 17:16:37 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 19039-07 for ; Tue, 14 Mar 2006 17:16:38 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id D777A9DC81A for ; Tue, 14 Mar 2006 17:16:34 -0400 (AST) Received: by noel.decibel.org (Postfix, from userid 1001) id AA62E56427; Tue, 14 Mar 2006 15:16:36 -0600 (CST) Received: (hashcash-sendmail, from uid 1001); Tue, 14 Mar 2006 15:16:35 -0600 Date: Tue, 14 Mar 2006 15:16:35 -0600 From: "Jim C. Nasby" To: "mcelroy, tim" Cc: 'Tom Lane' , pgsql-performance@postgresql.org Subject: Re: Vacuum template databases, Urgent: Production probl Message-ID: <20060314211635.GW45250@pervasive.com> References: <0C4841B42F87D51195BD00B0D020F5CB044B246C@morpheus.bostonstock.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0C4841B42F87D51195BD00B0D020F5CB044B246C@morpheus.bostonstock.com> X-Operating-System: FreeBSD 6.0-RELEASE-p4 amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.11 X-Hashcash: 1:20:060314:tim.mcelroy@bostonstock.com::QBHAM178x32PFuln:0000000000 0000000000000000000000004uIL X-Hashcash: 1:20:060314:tgl@sss.pgh.pa.us::Nb5eBftfRp7dzV5n:00000000000000000000 0000000000000000000000002pCN X-Hashcash: 1:20:060314:pgsql-performance@postgresql.org::PXrHtwGcisnVHGgR:00000 00000000000000000000000041Ml X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.109 required=5 tests=[AWL=0.109] X-Spam-Score: 0.109 X-Spam-Level: X-Archive-Number: 200603/200 X-Sequence-Number: 17637 On Tue, Mar 14, 2006 at 12:28:17PM -0500, mcelroy, tim wrote: > If one adds the '-a' arg to vacuumdb wouldn't that vacuum all databases > including template1? It does on 8.1... decibel@phonebook.1[15:15]~:18%vacuumdb -va | & grep template1 vacuumdb: vacuuming database "template1" decibel@phonebook.1[15:16]~:19% Try it and find out. -- Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461