Re: Automatic failover

From: Paul Foerster <paul(dot)foerster(at)gmail(dot)com>
To: Sonam Sharma <sonams1209(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Automatic failover
Date: 2020-03-17 10:37:02
Message-ID: CABNMRRx3_jW9xdpkxi1zO4nGuEvCHEofLU4=9ditJJmC-X5RdA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Sonam,

On Tue, Mar 17, 2020 at 11:30 AM Sonam Sharma <sonams1209(at)gmail(dot)com> wrote:
>
> I have setup replication using repmgr. Wanted to know how much time the slave node will take to become new primary ?? If any document, can someone please share of auto failover. With automatic failover, how much time the slave takes to become new 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Don Seiler 2020-03-17 13:06:52 Re: Mixed Locales and Upgrading
Previous Message Sonam Sharma 2020-03-17 10:30:01 Automatic failover