Re: Parameter name standby_mode

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Parameter name standby_mode
Дата
Msg-id 4B7295A5.2010304@enterprisedb.com
обсуждение исходный текст
Ответ на Parameter name standby_mode  (Joachim Wieland <joe@mcknight.de>)
Ответы Re: Parameter name standby_mode  (Joachim Wieland <joe@mcknight.de>)
Re: Parameter name standby_mode  (Simon Riggs <simon@2ndQuadrant.com>)
Re: Parameter name standby_mode  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers
Joachim Wieland wrote:
> We want to teach people that Hot Standby and Streaming Replication are
> two different features.

I'm not sure about that, actually. Now that they're both in the tree,
they work nicely together and many users will think of them as one.

> However, Streaming Replication calls its main
> parameter "standby_mode" which reminds more of Hot Standby than of
> Streaming Replication.
> 
> People could also run a warm standby without streaming replication,
> which would result in a standby that has standby_mode = 'off'.

If they want to implement the warm standby using the (new) built-in
logic to keep retrying restore_command, they would set
standby_mode='on'. standby_mode='on' doesn't imply streaming replication.

If you want to use pg_standby or similar tools, then you would indeed
set standby_mode='off', but I think that makes sense because you're
implementing the standby functionality outside the server in that case.

--  Heikki Linnakangas EnterpriseDB   http://www.enterprisedb.com


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

Предыдущее
От: Joachim Wieland
Дата:
Сообщение: Parameter name standby_mode
Следующее
От: Federico Di Gregorio
Дата:
Сообщение: Re: About psycopg2 (by its author)