Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 9BAA1133616B for ; Tue, 28 Sep 2010 09:29:56 -0300 (ADT) 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 44211-06 for ; Tue, 28 Sep 2010 12:29:50 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp-vbr14.xs4all.nl (smtp-vbr14.xs4all.nl [194.109.24.34]) by mail.postgresql.org (Postfix) with ESMTP id 58F6D1335ED4 for ; Tue, 28 Sep 2010 09:29:49 -0300 (ADT) Received: from webmail.xs4all.nl (dovemail10.xs4all.nl [194.109.26.12]) by smtp-vbr14.xs4all.nl (8.13.8/8.13.8) with ESMTP id o8SCTlkm030413; Tue, 28 Sep 2010 14:29:47 +0200 (CEST) (envelope-from er@xs4all.nl) Received: from 156.83.0.161 (SquirrelMail authenticated user er) by webmail.xs4all.nl with HTTP; Tue, 28 Sep 2010 14:29:47 +0200 Message-ID: <38e67d2e089857373f9bf8170911a368.squirrel@webmail.xs4all.nl> In-Reply-To: References: Date: Tue, 28 Sep 2010 14:29:47 +0200 Subject: Re: Clean up of archived Xlogs in postgres-9. From: "Erik Rijkers" To: "Nimesh Satam" Cc: pgsql-performance@postgresql.org User-Agent: SquirrelMail/1.4.18 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.79 tagged_above=-10 required=5 tests=BAYES_50=0.8, RCVD_IN_DNSWL_NONE=-0.0001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201009/194 X-Sequence-Number: 40397 On Tue, September 28, 2010 12:01, Nimesh Satam wrote: > Hi, > > Can any one of you suggest how the archived Xlogs can be cleaned in > postgres-9. > > We want to use streaming replication and have set the "wal_level" to > "hot_standby" and "archive_mode" to "on". > See contrib/pg_archivecleanup: http://www.postgresql.org/docs/9.0/static/pgarchivecleanup.html hth, Erik Rijkers