Re: HA Setup Review

From: Scott Ribe <scott_ribe(at)elevated-dev(dot)com>
To: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: HA Setup Review
Date: 2024-04-30 14:47:48
Message-ID: DB252091-0D4D-45A1-BACB-7C521A018350@elevated-dev.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

> On Apr 30, 2024, at 8:20 AM, Ron Johnson <ronljohnsonjr(at)gmail(dot)com> wrote:
>
> ZERO downtime is -- to my knowledge -- impossible with master-slave replication. There will always be some seconds of lag while the secondary-that-was is promoted to new-primary, and the applications that were forcibly disconnected from the old primary are connected to the new-primary.
>
> Heck, even in a master-master DB cluster, any connections on the master that dies will be down until they can connect to the other master.

This is true. However, with a secondary that is up to date, and applications accessing through pgbouncer, client connections to pgbouncer are not broken, and pgbouncer connections to postgres can be reestablished quickly enough that users only observe a slightly slow response.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message akshay polji 2024-04-30 16:29:22 Re: HA Setup Review
Previous Message Ron Johnson 2024-04-30 14:20:47 Re: HA Setup Review