X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 74506D1B4E6 for ; Wed, 29 Oct 2003 16:55:36 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 52609-08 for ; Wed, 29 Oct 2003 12:55:04 -0400 (AST) Received: from dhcp-7-248.ma.lycos.com (waltham-nat.ma.lycos.com [209.202.205.1]) by svr1.postgresql.org (Postfix) with SMTP id A4A84D1B51B for ; Wed, 29 Oct 2003 12:55:03 -0400 (AST) Received: (qmail 12150 invoked from network); 29 Oct 2003 16:57:07 -0000 Received: from dhcp-7-41.ma.lycos.com (HELO squeegit) (10.124.7.41) by dhcp-7-248.ma.lycos.com with SMTP; 29 Oct 2003 16:57:07 -0000 Date: Wed, 29 Oct 2003 11:54:58 -0500 From: Jeff To: Tom Lane Cc: pgsql-admin@postgresql.org Subject: Re: pg_clog & vacuum oddness Message-Id: <20031029115458.442f7fa2.threshar@torgo.978.org> In-Reply-To: <5274.1067445132@sss.pgh.pa.us> References: <20031029110358.548105be.threshar@torgo.978.org> <5274.1067445132@sss.pgh.pa.us> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/352 X-Sequence-Number: 10913 On Wed, 29 Oct 2003 11:32:12 -0500 Tom Lane wrote: > Jeff writes: > > [ pg_clog not getting truncated ] > > pg_clog is truncated on the basis of the oldest completely vacuumed > database in your installation. Most likely your maintenance script > is failing to vacuum some database(s) (template1, perhaps?) and/or > is doing table-by-table vacuums rather than an unqualified VACUUM. > > I doubt this explains any performance problems though. Old pg_clog > segments don't do anything except sit there. > > regards, tom lane > thanks, that did it - I hadn't been vacuuming a rarely used db we have tossed on there too. -- Jeff Trout http://www.jefftrout.com/ http://www.stuarthamm.net/