Re: One way replication in PostgreSQL

Поиск
Список
Период
Сортировка
От Fabio Pardi
Тема Re: One way replication in PostgreSQL
Дата
Msg-id 6a62a18c-d2b6-65c6-4fbf-fac472798d58@portavita.eu
обсуждение исходный текст
Ответ на One way replication in PostgreSQL  (PALAYRET Jacques <jacques.palayret@meteo.fr>)
Список 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



В списке pgsql-general по дате отправления:

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: One way replication in PostgreSQL
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: Cause: org.postgresql.util.PSQLException: ERROR: could not resizeshared memory segment "/PostgreSQL.1946998112" to 8388608 bytes: No spaceleft on device