Re: pg_archivecleanup with multiple slaves - Mailing list pgsql-admin

From Kevin Grittner
Subject Re: pg_archivecleanup with multiple slaves
Date
Msg-id 4DD62322020000250003D9C3@gw.wicourts.gov
Whole thread Raw
In response to pg_archivecleanup with multiple slaves  (Ben Lancaster <benlancaster@holler.co.uk>)
List pgsql-admin
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



pgsql-admin by date:

Previous
From: Raghavendra
Date:
Subject: Re: LDAP Authentication
Next
From: "Mark Johnson"
Date:
Subject: Re: LDAP Authentication