Re: streaming replication question - Mailing list pgsql-general

From Fujii Masao
Subject Re: streaming replication question
Date
Msg-id AANLkTinyCa6DEZUbB7ABTsbYUr6o3Y=vne_p_YnOyN2_@mail.gmail.com
Whole thread Raw
In response to Re: streaming replication question  (Rajesh Kumar Mallah <mallah.rajesh@gmail.com>)
List 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 by date:

Previous
From: AI Rumman
Date:
Subject: Query tune, index is not using
Next
From: Simon Riggs
Date:
Subject: Re: streaming replication question