Logical replication Replica identity

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

Logical replication Replica identity

От:
Yambu <hyambu@gmail.com>
Дата:
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 <jayson.hreczuck@studentuniverse.com>
Дата:
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
FAQ