Re: Automatic failover - Mailing list pgsql-general

From Paul Foerster
Subject Re: Automatic failover
Date
Msg-id CABNMRRx3_jW9xdpkxi1zO4nGuEvCHEofLU4=9ditJJmC-X5RdA@mail.gmail.com
Whole thread Raw
In response to Automatic failover  (Sonam Sharma <sonams1209@gmail.com>)
List pgsql-general
Hi Sonam,

On Tue, Mar 17, 2020 at 11:30 AM Sonam Sharma <sonams1209@gmail.com> wrote:
>
> I have setup replication using repmgr. Wanted to know how much time the slave node will take to become new primary ??
Ifany document, can someone please share of auto failover.  With automatic failover, how much time the slave takes to
becomenew primary . 
> Thanks..

I don't know about repmgr. We use Patroni with etcd. A switchover
takes only a second or two with that. And the (new) replica is usually
in sync again in less than about 5 seconds or so.

Cheers,
Paul



pgsql-general by date:

Previous
From: Sonam Sharma
Date:
Subject: Automatic failover
Next
From: Don Seiler
Date:
Subject: Re: Mixed Locales and Upgrading