Re: Adding a third DR PostgreSQL native replication

From: Yaser Raja <yrraja(at)gmail(dot)com>
To: vinayak spratt <vin_spratt(at)hotmail(dot)com>
Cc: "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Adding a third DR PostgreSQL native replication
Date: 2017-03-12 15:53:53
Message-ID: CALkbEVna-nneOfFJrQekrNf=LJgJ0MKFhyLp+0h=37t7STQTCQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Yes you can stream from an existing replica. This is called cascading
replication. Check out the following link for details:

https://www.postgresql.org/docs/9.3/static/warm-standby.html#CASCADING-REPLICATION

You need the exact same steps which you used to set up the first replica.

Regards
Yaser

On Wed, Mar 8, 2017 at 8:30 PM, vinayak spratt <vin_spratt(at)hotmail(dot)com>
wrote:

> Hi All
>
>
> We have been using PostgreSQL 9.3 with pgpool 3.4 in a two node cluster
> with native streaming replication between the two nodes .
>
>
> We have a third PostgreSQL 9.3 server in DR and we just copy the backups
> and wal files to this server. I wanted to know if we can create native
> streaming replication between the replica (or would need to be from
> primary) and the DR and would this have any drawbacks. Would this be the
> same are setting up replication as normal, is there a article or blog where
> I can read how this is done.
>
>
> Thanks in advance.
>
>
> Regards
>
> Vin
>
>
>
>
>

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Neha Khatri 2017-03-13 01:22:06 Why is there a doubtful copyObject call in add_vars_to_targetlist
Previous Message Bogdan Zlatanov 2017-03-09 10:51:17 SELECT FOR UPDATE with ORDER BY