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 AC0DF9DC8D2 for ; Tue, 14 Mar 2006 17:24:12 -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 24720-07 for ; Tue, 14 Mar 2006 17:24:13 -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 796F39DC80A for ; Tue, 14 Mar 2006 17:24:10 -0400 (AST) Received: by noel.decibel.org (Postfix, from userid 1001) id 6B9D256423; Tue, 14 Mar 2006 15:24:12 -0600 (CST) Received: (hashcash-sendmail, from uid 1001); Tue, 14 Mar 2006 15:24:11 -0600 Date: Tue, 14 Mar 2006 15:24:11 -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: <20060314212411.GY45250@pervasive.com> References: <0C4841B42F87D51195BD00B0D020F5CB044B2472@morpheus.bostonstock.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0C4841B42F87D51195BD00B0D020F5CB044B2472@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::26MHBAl9EkS/i1Hk:0000000000 0000000000000000000000003Ajm X-Hashcash: 1:20:060314:tgl@sss.pgh.pa.us::q8twVGLwsZB0mBiJ:00000000000000000000 0000000000000000000000000m70 X-Hashcash: 1:20:060314:pgsql-performance@postgresql.org::lP5MnWi/wmYjzYhg:00000 0000000000000000000000007DA5 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/202 X-Sequence-Number: 17639 On Tue, Mar 14, 2006 at 04:19:37PM -0500, mcelroy, tim wrote: > Humm, well I am running 8.0.1 and use that option and see the following in > my vacuum output log: > > vacuumdb: vacuuming database "template1" > > So I would assume that it is being vacuumed? Maybe I'm wrong. If so, we > should be upgrading soon and it won't be an issue. My guess is that vacuumdb -a will vacuum anything that it's allowed to connect to, which normally means every database except for template0. If you want the Real Answer, look in the source. -- 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