From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: elatllat@gmail.com
To: benlancaster@holler.co.uk
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_archivecleanup with multiple slaves
Date: Fri, 20 May 2011 08:15:30 -0500
Message-ID: <4DD62322020000250003D9C3@gw.wicourts.gov> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: Kevin.Grittner@wicourts.gov, elatllat@gmail.com, benlancaster@holler.co.uk
Subject: Re: pg_archivecleanup with multiple slaves
In-Reply-To: <4DD62322020000250003D9C3@gw.wicourts.gov>
References: <4DD62322020000250003D9C3@gw.wicourts.gov>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox