Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 499A91337B82 for ; Thu, 10 Mar 2011 10:04:19 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 14464-08 for ; Thu, 10 Mar 2011 14:04:09 +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 3BC191337BA8 for ; Thu, 10 Mar 2011 10:04:07 -0400 (AST) Received: from mh5.mail.rice.edu (localhost.localdomain [127.0.0.1]) by mh5.mail.rice.edu (Postfix) with ESMTP id 3B92E28FA4D; Thu, 10 Mar 2011 08:04:07 -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 UvlCM4M9ijyu; Thu, 10 Mar 2011 08:04:07 -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 0BBD728FA4A; Thu, 10 Mar 2011 08:04:07 -0600 (CST) Received: by aart.is.rice.edu (Postfix, from userid 18612) id 787AB2D5A6; Thu, 10 Mar 2011 08:04:06 -0600 (CST) Date: Thu, 10 Mar 2011 08:04:05 -0600 From: Kenneth Marshall To: Scott Whitney Cc: pgsql-admin@postgresql.org Subject: Re: pg_clogs hanging around Message-ID: <20110310140405.GZ8169@aart.is.rice.edu> References: <5879018.14098.1299765304748.JavaMail.root@zimbra.int.journyx.com> <15608934.14100.1299765386313.JavaMail.root@zimbra.int.journyx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15608934.14100.1299765386313.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=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201103/114 X-Sequence-Number: 36986 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. Cheers, Ken