Re: Replication mode

Поиск
Список
Период
Сортировка
От Mark Kirkwood
Тема Re: Replication mode
Дата
Msg-id a9a09d31-4127-2a19-3bc7-085cf442a310@catalyst.net.nz
обсуждение исходный текст
Ответ на Re: Replication mode  (Azimuddin Mohammed <azimeiu@gmail.com>)
Ответы Re: Replication mode  (Azimuddin Mohammed <azimeiu@gmail.com>)
Список pgsql-admin
On 11/01/18 11:17, Azimuddin Mohammed wrote:

> Thanks!
> But with hot standby my slave will be in read-only mode ...how can I 
> just use my slave as a backup and not do any read operation and let my 
> primary server do all read and write operation. If my primary fails I 
> will do manual failover. The whole idea is to remove any 3rd party 
> open source tools as we are not sure how well they behave and avoid 
> any single point of failure.
>

Whether you have made the standby/slave hot or merely warm doesn't 
really change the 'standby' part - the mechanism is identical (applying 
wal information to keep the it up to date with its primary). In either 
case they cannot be altered by clients (attempting to) connect to them. 
So most folk always make their standbys 'hot' (it is very convenient to 
have the *option* of being able to query them if you need to).

Does that help?

Cheers

Mark


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

Предыдущее
От: scott ribe
Дата:
Сообщение: Re: Replication mode
Следующее
От: Azimuddin Mohammed
Дата:
Сообщение: Re: Replication mode