Re: finding best possible new master in case of failover?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2022-11-01 at 07:00 +0000, Sacheen Birhade wrote:
> In a multitarget replication (a master with multiple slaves) withasynchronous replication mode, 
> How can We find best possible new master in case of failover?

Pick the one with the latest pg_last_wal_receive_lsn().

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com





[Index of Archives]     [Postgresql Home]     [Postgresql General]     [Postgresql Performance]     [Postgresql PHP]     [Postgresql Jobs]     [PHP Users]     [PHP Databases]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Forum]

  Powered by Linux