Re: Feature request: pg_basebackup --force - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: Feature request: pg_basebackup --force
Date
Msg-id 4DA2D205020000250003C62C@gw.wicourts.gov
Whole thread Raw
In response to Re: Feature request: pg_basebackup --force  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> wrote:
> That's exactly what pg_basebackup does. Once you move into more 
> complicated scenarios with multiple standbys and WAL archiving,
> it's inevitably going to be more complicated to set up.
> 
> That doesn't mean that we can't make it easier - we can and we
> should - but I don't think the common complaint that replication
> is hard to set up is true anymore.
Getting back to the rsync-like behavior, which is what led the
conversation in this direction, I think -- the point of that seemed
to be to allow similar ease of use for those activating a replicated
node as the master, without requiring that the entire data directory
be sent over a slow WAN or Internet path when the delta needed to
modify what was already at the remote end to match the new master
might be orders of magnitude less than data than that.
The intelligence to support that would be a fraction of what is in
rsync.  In fact, since we might want to ignore hint bit differences
where possible, rsync might not work nearly as well as a home-grown
solution.
-Kevin


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: SSI bug?
Next
From: Jesper Krogh
Date:
Subject: Locking when concurrent updated of foreign references