Re: Using old master as new replica after clean switchover - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Using old master as new replica after clean switchover
Date
Msg-id 20190220004404.GZ15532@paquier.xyz
Whole thread Raw
In response to Using old master as new replica after clean switchover  (RSR999GMAILCOM <rsr999@gmail.com>)
Responses Re: Using old master as new replica after clean switchover  (RSR999GMAILCOM <rsr999@gmail.com>)
Re: Using old master as new replica after clean switchover  (Claudio Freire <klaussfreire@gmail.com>)
List pgsql-hackers
On Tue, Feb 19, 2019 at 04:27:02PM -0800, RSR999GMAILCOM wrote:
> So  wanted to clarify if this procedure really requires the WAL archive
> location on a shared storage ?

Shared storage for WAL archives is not a requirement.  It is perfectly
possible to use streaming replication to get correct WAL changes.
Using an archive is recommended for some deployments and depending on
your requirements and data retention policy, still you could have
those archives on a different host and have the restore_command of the
standbyt in recovery or the archive_command of the primary save the
segments to it.  Depending on the frequency new WAL segments are
generated, this depends of course.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Prepared transaction releasing locks before deregistering its GID
Next
From: Peter Geoghegan
Date:
Subject: Re: CPU costs of random_zipfian in pgbench