X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 37BBF11F6ACA for ; Fri, 31 Mar 2006 13:48:06 -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 83498-01 for ; Fri, 31 Mar 2006 13:48:04 -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 D2F6C11F6710 for ; Fri, 31 Mar 2006 13:48:03 -0400 (AST) Received: by noel.decibel.org (Postfix, from userid 1001) id 1403756431; Fri, 31 Mar 2006 11:48:03 -0600 (CST) Received: (hashcash-sendmail, from uid 1001); Fri, 31 Mar 2006 11:48:02 -0600 Date: Fri, 31 Mar 2006 11:48:02 -0600 From: "Jim C. Nasby" To: Gourish Singbal Cc: "pgsql-admin@postgresql.org" Subject: Re: auto vacuuming Message-ID: <20060331174802.GS49405@pervasive.com> References: <674d1f8a0603290206u55f114e1y7bfc2f83696fbada@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <674d1f8a0603290206u55f114e1y7bfc2f83696fbada@mail.gmail.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:060331:gourish@gmail.com::AdAGyNTyHalIEXRG:00000000000000000000 0000000000000000000000002COA X-Hashcash: 1:20:060331:pgsql-admin@postgresql.org::i0F6qTGR0Y08bi4O:00000000000 0000000000000000000000003Ldc X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.108 required=5 tests=[AWL=0.108] X-Spam-Score: 0.108 X-Spam-Level: X-Archive-Number: 200603/400 X-Sequence-Number: 21157 On Wed, Mar 29, 2006 at 03:36:36PM +0530, Gourish Singbal wrote: > we are using postgresql 8.1.3 and wanted to enable autovacuuming for only > one of the many databases on the same postgresql cluster. > pg_autovacuum seems to allow to ignore only a particular table and not the > database since column vacrelid is OID from pg_class table Are there any > suggestions to accomplish this tasks?. Currently there is no way to exclude entire databases from autovacuum. I'm curious, why do you want to do this anyway? -- 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