Re: logical replication on 9.6: replica configuration

Поиск
Список
Период
Сортировка
От Jeremy Schneider
Тема Re: logical replication on 9.6: replica configuration
Дата
Msg-id 22E42C2F-11C9-4938-BBF0-A76F46A7C5DA@ardentperf.com
обсуждение исходный текст
Ответ на logical replication on 9.6: replica configuration  (Paul Costello <paulc1217@gmail.com>)
Список pgsql-general
Because you’re on 9.6, you can’t use the native create subscription/publication sql commands. I’d check out pglogical from 2nd quadrant; this should be supported on RDS 9.6 iirc.


That said, I’m a bit curious what security concern would disallow a physical hot standby and allow a logical replication setup - especially in a managed environment... are you able to share any more specifics about the reasoning here? Maybe the requirement is for the replica to be in a different account or something?

-Jeremy


Sent from my TI-83

On May 12, 2019, at 20:51, Paul Costello <paulc1217@gmail.com> wrote:

I need to create a read-only replica in AWS environment.  I can't use AWS/RDS built-in read replica functionaility due to security concerns, so I'm tied to using logical replication, on postgres 9.6.  How do I configure a replica db to receive the contents of the replication slot on master? 

I was able to get logical replication going with the following 2 commands:

SELECT pg_create_logical_replication_slot('test_slot', 'test_decoding');
pg_recvlogical -d test --slot test_slot --start -f - &

I'm very unclear on where to go from there to stand up a read-replica db.

Thanks,
Paul C.

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

Предыдущее
От: Paul Costello
Дата:
Сообщение: logical replication on 9.6: replica configuration
Следующее
От: Prakash Ramakrishnan
Дата:
Сообщение: Re: perl path issue