Re: How to choose new master from slaves.?

Поиск
Список
Период
Сортировка
От Ron
Тема Re: How to choose new master from slaves.?
Дата
Msg-id 4f65670a-443a-7e35-3b44-88a874b402b0@gmail.com
обсуждение исходный текст
Ответ на How to choose new master from slaves.?  (Sacheen Birhade <sacheen.birhade@veritas.com>)
Список pgsql-general
On 8/4/22 02:43, Sacheen Birhade wrote:
@font-face {font-family:Wingdings; panose-1:5 0 0 0 0 0 0 0 0 0;}@font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; font-size:11.0pt; font-family:"Calibri",sans-serif;}span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri",sans-serif; color:windowtext;}.MsoChpDefault {mso-style-type:export-only; font-family:"Calibri",sans-serif;}div.WordSection1 {page:WordSection1;}

Hi All,

 

I have a very basic question about streaming replication feature of Postgres.

Let’s assume I have servers A, B, C, D, & E with postgres installed with streaming replication as follow:

à  B ( sync replication )

A  à  C ( async replication )

A  à  D ( async replication )

A  à  E ( async replication )

A is master & rest are slaves.

 

Now my question is:

Assume replication link between A & B may/may not stable.  If A goes down, how will I choose my new master from slaves? What are criteria to choose new master?


By "link between A & B may/may not stable", do you mean that B might not actually be synchronized?

--
Angular momentum makes the world go 'round.

В списке pgsql-general по дате отправления:

Предыдущее
От: Danny Shemesh
Дата:
Сообщение: Index only scans for expressional indices when querying for the expression
Следующее
От: Francisco Olarte
Дата:
Сообщение: Re: Behavior of identity columns