Обсуждение: Logical replication Replica identity

Поиск
Список
Период
Сортировка

Logical replication Replica identity

От
Yambu
Дата:
Hi

For logical replication do i do this on master only or on slave as well

"alter table table_name replica identity using index index_name;"

regards

Re: Logical replication Replica identity

От
Jayson Hreczuck
Дата:
Master, as it tells the db how to identify changes.  Can also use the "full" option if you are unsure.

On Thu, Apr 15, 2021, 3:08 AM Yambu <hyambu@gmail.com> wrote:
Hi

For logical replication do i do this on master only or on slave as well

"alter table table_name replica identity using index index_name;"

regards