Re: Postgres replication question :- One master 2 slaves 9.0.10 - Mailing list pgsql-general

From Jaime Casanova
Subject Re: Postgres replication question :- One master 2 slaves 9.0.10
Date
Msg-id CAJKUy5gTKTKCkcy8HzSD5bTe0KHN3MXm8NNAgOYSLaCX=dKujQ@mail.gmail.com
Whole thread Raw
In response to Re: Postgres replication question :- One master 2 slaves 9.0.10  (Sergey Konoplev <gray.ru@gmail.com>)
Responses Re: Postgres replication question :- One master 2 slaves 9.0.10
List pgsql-general
On Tue, Oct 1, 2013 at 5:46 PM, Sergey Konoplev <gray.ru@gmail.com> wrote:
> On Tue, Oct 1, 2013 at 2:03 PM, akp geek <akpgeek@gmail.com> wrote:
>> One more thing.. pardon me for being dumb
>>
>> I want to set the 2 nd slave as HOT STAND  BY,  not steaming ..
>
> Hot standby assumes being streaming. You can not establish a hot
> standby without using streaming replication. What is the reason not to
> do it streaming?
>

Ah! why?

you don't need to use streaming replication for a hot standby, it
works perfectly well even if you replay everything from archive and
never do streaming.

but it would be a good idea to set hot_standby_feedback to on and
max_standby_archive_delay to something larger than 30s

--
Jaime Casanova         www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación
Phone: +593 4 5107566         Cell: +593 987171157


pgsql-general by date:

Previous
From: akp geek
Date:
Subject: Re: Postgres replication question :- One master 2 slaves 9.0.10
Next
From: Stephen Frost
Date:
Subject: Re: Largest PG database known to man!