Re: Postgres replication question :- One master 2 slaves 9.0.10

From: Jaime Casanova <jaime(at)2ndquadrant(dot)com>
To: Sergey Konoplev <gray(dot)ru(at)gmail(dot)com>
Cc: akp geek <akpgeek(at)gmail(dot)com>, Chris Travers <chris(dot)travers(at)gmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Postgres replication question :- One master 2 slaves 9.0.10
Date: 2013-10-02 01:15:13
Message-ID: CAJKUy5gTKTKCkcy8HzSD5bTe0KHN3MXm8NNAgOYSLaCX=dKujQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Oct 1, 2013 at 5:46 PM, Sergey Konoplev <gray(dot)ru(at)gmail(dot)com> wrote:
> On Tue, Oct 1, 2013 at 2:03 PM, akp geek <akpgeek(at)gmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stephen Frost 2013-10-02 01:53:23 Re: Largest PG database known to man!
Previous Message akp geek 2013-10-02 00:30:51 Re: Postgres replication question :- One master 2 slaves 9.0.10