Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 5EEA5133655C for ; Thu, 10 Mar 2011 11:09:09 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 74808-04 for ; Thu, 10 Mar 2011 15:09:02 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mh5.mail.rice.edu (mh5.mail.rice.edu [128.42.199.32]) by mail.postgresql.org (Postfix) with ESMTP id CC4511337B93 for ; Thu, 10 Mar 2011 11:09:01 -0400 (AST) Received: from mh5.mail.rice.edu (localhost.localdomain [127.0.0.1]) by mh5.mail.rice.edu (Postfix) with ESMTP id D4E1728FA64; Thu, 10 Mar 2011 09:09:01 -0600 (CST) X-Virus-Scanned: by amavis-2.6.4 at mh5.mail.rice.edu, auth channel Received: from mh5.mail.rice.edu ([127.0.0.1]) by mh5.mail.rice.edu (mh5.mail.rice.edu [127.0.0.1]) (amavis, port 10026) with ESMTP id UO3F-p7sNXtN; Thu, 10 Mar 2011 09:09:01 -0600 (CST) X-SMTP-Auth: no X-SMTP-Auth: no Received: from aart.is.rice.edu (aart.is.rice.edu [168.7.56.48]) by mh5.mail.rice.edu (Postfix) with ESMTP id 8CA0228FA60; Thu, 10 Mar 2011 09:09:01 -0600 (CST) Received: by aart.is.rice.edu (Postfix, from userid 18612) id D42212D5A6; Thu, 10 Mar 2011 09:09:00 -0600 (CST) Date: Thu, 10 Mar 2011 09:09:00 -0600 From: Kenneth Marshall To: Scott Whitney Cc: pgsql-admin@postgresql.org Subject: Re: pg_clogs hanging around Message-ID: <20110310150900.GA8169@aart.is.rice.edu> References: <20110310140405.GZ8169@aart.is.rice.edu> <5606497.14104.1299766714935.JavaMail.root@zimbra.int.journyx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5606497.14104.1299766714935.JavaMail.root@zimbra.int.journyx.com> User-Agent: Mutt/1.5.16 (2007-06-09) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-4.21 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201103/119 X-Sequence-Number: 36991 On Thu, Mar 10, 2011 at 08:18:34AM -0600, Scott Whitney wrote: > > On Thu, Mar 10, 2011 at 07:56:26AM -0600, Scott Whitney wrote: > > > > > > > > If you have hardware problems like that you have way more > > > > problems. You could have corruption (silent) occurring in any of > > > > the other > > > > database files. Good luck. > > > > > > I am, in fact, aware of that, but every single machine ever > > > manufactured will have hardware problems such at this at some point. > > > It stems quite simply from Ohm's Law, one gross over-simplification > > > of which is as simple as "if it's got a resistor in it, it's going > > > to fail at some point", as I'm sure you know. It's merely a matter > > > of whether proactive replacement, backups, standby systems, etc > > > ameliorate that risk. When we had our failure a couple of years ago, > > > it did not. > > > > > > Regardless, my question still stands, and I do, in fact, care about > > > ANY database blocking cleanup of clogs (or anything else). There's > > > this concept of "if this then what else," and if template0 (or > > > anyone else) is blocking that ability to properly clean those up, > > > what else is possibly screwed up in a similar fashion. > > > > > > So, what can I do to resolve this issue? > > > > > > > True, entropy rules. I think that you can use "VACUUM FREEZE" > > to allow the clogs to be cleaned up. > > > I thought I was. I've got -F in there. vacuumdb -a -v -F > Sorry about that, you are. I have never done it from the command-line just from psql. I was thinking F for FULL... :) Cheers, Ken