Re: streaming replication question

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: streaming replication question
Дата
Msg-id AANLkTinyCa6DEZUbB7ABTsbYUr6o3Y=vne_p_YnOyN2_@mail.gmail.com
обсуждение исходный текст
Ответ на Re: streaming replication question  (Rajesh Kumar Mallah <mallah.rajesh@gmail.com>)
Список pgsql-general
On Tue, Oct 5, 2010 at 4:04 PM, Rajesh Kumar Mallah
<mallah.rajesh@gmail.com> wrote:
>> > I am currently aiming to setup only SR  between 2 servers only.
>>
>> "only SR" means that you don't need Hot Standby (i.e., you don't need to
>> run any query on the standby server)? If so, you can set wal_level to
>> archive instead of hot_standby, and disable hot_standby parameter on the
>> standby.
>
> Thanks for the kind replies,
> May be I am mistaken in understanding of the terms. I do issue read only
> queries to the standby server. So I think its HS. But I also stream the
> wal records.

SR is capability to stream WAL records from the master to the standby and
keep the database on the standby up to date by applying the WAL records.
HS is capability to allow us to run read-only queries on the standby.
You seem to need both SR and HS. So you don't need to change wal_level and
hot_standby parameters.

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

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

Предыдущее
От: AI Rumman
Дата:
Сообщение: Query tune, index is not using
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: streaming replication question