From: | Fabio Pardi <f(dot)pardi(at)portavita(dot)eu> |
---|---|
To: | pgsql-general(at)lists(dot)postgresql(dot)org |
Subject: | Re: One way replication in PostgreSQL |
Date: | 2019-06-03 16:18:21 |
Message-ID: | 6a62a18c-d2b6-65c6-4fbf-fac472798d58@portavita.eu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi,
On 6/3/19 6:00 PM, PALAYRET Jacques wrote:
> Hello,
>
> If, for security reasons, I can't create a connection or a flow from
> subscriber/secundary/slave towards provider/primary/master, witch
> replication systems can I use ?
>
To perform replication, you need some form of connectivity between the
hosts (unless, you want to only apply archived WAL files, as mentioned
by Stephen here above).
In streaming replication your replica needs to be able to initiate the
connection to master
If you instead have, let's say, master -> replica or both your hosts can
reach a 3rd host, you might work around the problem using an SSH tunnel.
I discourage you from this latter option, anyway.
> If possible, I would prefer partial replication (only some tables) to
> full base replication (all instances).
you could have a look into pglogical
regards,
fabio pardi
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Munro | 2019-06-03 17:06:11 | Re: Cause: org.postgresql.util.PSQLException: ERROR: could not resize shared memory segment "/PostgreSQL.1946998112" to 8388608 bytes: No space left on device |
Previous Message | Stephen Frost | 2019-06-03 16:13:39 | Re: One way replication in PostgreSQL |