Re: Replication

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: Replication
Дата
Msg-id ian7pn$8m1$1@dough.gmane.org
обсуждение исходный текст
Ответ на Re: Replication  (Jonathan Tripathy <jonnyt@abpni.co.uk>)
Ответы Re: Replication  (Jonathan Tripathy <jonnyt@abpni.co.uk>)
Список pgsql-general
Jonathan Tripathy wrote on 01.11.2010 21:12:
>>
>> 9.0 has streaming replication and "Hot Standby"
>>
>> http://www.postgresql.org/docs/current/static/hot-standby.html
>> http://www.postgresql.org/docs/current/static/warm-standby.html#STREAMING-REPLICATION
>>
>>
> But does that not only allow "read-only" things to work on the standby?
>

But you didn't ask for read/write on the standby, only for a standby that can take of the master once the master fails:
"must support INSERTS and UPDATES as well (once the master has failed)"

That's exactly what the hot standby does: As long as it is in standby mode it's read-only.
Once the failover has happened the standby is the new master and will allow read/write access.

Thomas

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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: async queries in Perl and poll()/select() loop - how to make them work together?
Следующее
От: Jonathan Tripathy
Дата:
Сообщение: Re: Replication