Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id D2AA61337B97 for ; Thu, 10 Mar 2011 09:01:25 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 75248-10 for ; Thu, 10 Mar 2011 13:01:18 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.int.journyx.com (mail.journyx.com [66.219.41.227]) by mail.postgresql.org (Postfix) with ESMTP id 3EAC51337B82 for ; Thu, 10 Mar 2011 09:01:18 -0400 (AST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.int.journyx.com (Postfix) with ESMTP id A1020C4047 for ; Thu, 10 Mar 2011 07:01:15 -0600 (CST) X-Virus-Scanned: amavisd-new at zimbra.int.journyx.com Received: from mail.int.journyx.com ([127.0.0.1]) by localhost (mail.int.journyx.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pt5mOaGchXzQ for ; Thu, 10 Mar 2011 07:01:11 -0600 (CST) Received: from mail.int.journyx.com (zimbra.int.journyx.com [192.168.100.5]) by mail.int.journyx.com (Postfix) with ESMTP id 1A2E6C4041 for ; Thu, 10 Mar 2011 07:01:11 -0600 (CST) Date: Thu, 10 Mar 2011 07:01:10 -0600 (CST) From: Scott Whitney Reply-To: Scott Whitney To: pgsql-admin@postgresql.org Message-ID: <11997393.14072.1299762070874.JavaMail.root@zimbra.int.journyx.com> In-Reply-To: <358079.14070.1299761935620.JavaMail.root@zimbra.int.journyx.com> Subject: Re: pg_clogs hanging around MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.100.188] X-Mailer: Zimbra 6.0.6_GA_2331.RHEL4 (ZimbraWebClient - FF3.0 (Win)/6.0.6_GA_2331.RHEL4) 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/111 X-Sequence-Number: 36983 Ooops...I accidentally took this off list, as Kevin was nice enough to point out. >> What am I looking for? >Outliers. > Yeah. It's just those 2. I'd assume that the db I created > yesterday would be an outlier, but template0 has been there all along > (of course) and is still listed as 648, a significantly smaller number. >> The output shows me 345 rows, most of which are 132xxxxx numbers. >> Two of them (template0 and a database created yesterday) say 648. >The template0 database is what's keeping the clog files from being >cleaned up, but I guess the big question is why you care. They will >go away eventually, and shouldn't affect performance. Are they >taking enough space to merit extraordinary effort to clean them up? > -Kevin My concern is that when we had a failure a few years ago, and one of the clog files went bad. I had to manually recreate some customer data after bringing up the previous backup. So, I'd rather have them not there, because, well, if there are 200 of them in the dir, there's a higher chance in a case of a crash that one goes bad than if I have 15. Would adding -f (full) clean these up? I seem to recall it did in earlier versions. I've added the -F to it already, and that didn't seem to help.