On 7/6/2016 7:10 PM, Patrick B wrote:
the master should archive to a file server (NFS or whatever).
all slaves should use this wal archive as a 'catch up source' when
they resume after downtime. [*] master /also/ sends streaming replication to any direct attached slaves, and those slaves can send streaming replication to any cascaded slaves, repeat. copying WAL archives around via rsync just seems cray-cray to me.
[*] in the latest version, there are 'replication slots' which provides a completely different mechanism for this catch-up that doesn't require WAL archiving
-- john r pierce, recycling bits in santa cruz |