pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Jehan-Guillaume de Rorthais <jgdr@dalibo.com>
Cc: Rita <rmorgan466@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: what to do after a failover
Date: Fri, 10 Jan 2020 09:11:24 +0900
Message-ID: <20200110001124.GC1702@paquier.xyz> (raw)
In-Reply-To: <20200109151459.03111216@firost>
References: <CAOF-KfiEitz3aTdJybdBvu_-y6oirt4YMmdfLjWGpcWG7+Ed=g@mail.gmail.com>
	<20200109043139.GI2251@paquier.xyz>
	<CAOF-Kfh55omCkiVkey6KJx=d98kxY5rpL7upbGuz6SFV97Lf+w@mail.gmail.com>
	<20200109151459.03111216@firost>

On Thu, Jan 09, 2020 at 03:14:59PM +0100, Jehan-Guillaume de Rorthais wrote:
> If you can afford that, this is the cleanest and easiest procedure you could
> find.
>
> Note that pg_basebackup need an empty PGDATA, so it will have to transfert the
> whole instance from new promoted primary to the original one.

Simple is easier to understand.  Now the larger your instance, the
longer it takes to copy a base backup and the longer your reduce the
availability of your cluster.  So be careful with what you choose.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (5+ messages)

Message-ID: <20200110001124.GC1702@paquier.xyz>
Permalink:  ../20200110001124.GC1702@paquier.xyz/
Also on:    postgresql.org/message-id/20200110001124.GC1702@paquier.xyz

 · 

reply

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-general@postgresql.org
  Cc: michael@paquier.xyz, jgdr@dalibo.com, rmorgan466@gmail.com
  Subject: Re: what to do after a failover
  In-Reply-To: <20200110001124.GC1702@paquier.xyz>
  References: <CAOF-KfiEitz3aTdJybdBvu_-y6oirt4YMmdfLjWGpcWG7+Ed=g@mail.gmail.com> <20200109043139.GI2251@paquier.xyz> <CAOF-Kfh55omCkiVkey6KJx=d98kxY5rpL7upbGuz6SFV97Lf+w@mail.gmail.com> <20200109151459.03111216@firost> <20200110001124.GC1702@paquier.xyz>

* 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