Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 5EE55B5DBF1 for ; Fri, 20 May 2011 10:15:43 -0300 (ADT) 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 73718-02 for ; Fri, 20 May 2011 13:15:36 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gw.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by mail.postgresql.org (Postfix) with ESMTP id B2F83B5DBEC for ; Fri, 20 May 2011 10:15:35 -0300 (ADT) Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Fri, 20 May 2011 08:15:34 -0500 Message-Id: <4DD62322020000250003D9C3@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Fri, 20 May 2011 08:15:30 -0500 From: "Kevin Grittner" To: , Cc: Subject: Re: pg_archivecleanup with multiple slaves Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline 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: 201105/128 X-Sequence-Number: 37565 Tim wrote: > I would just make 2 copies of the WAL file one for each slave in > different folders. > That way if one slave is offline for a period of time it can > catch up when it comes back online. If you used hard links, that wouldn't even take any extra disk space (beyond the directory space). I would copy to a staging directory, hard link (cp -l) to each of the target directories, and then delete from the staging area. -Kevin