I have setup logical replication between two servers in PostgreSQL 11. For some table replication is not working. I dropped those table from publication and added them back and refreshed subscription .still replication has not happened. I checked subscriber log ,no error there in the log also. what could be the reason for this . how to troubleshoot this issue.
-
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer.Community– Community Bot2021-11-12 11:18:10 +00:00Commented Nov 12, 2021 at 11:18
-
replica identity ?Gurmokh– Gurmokh2022-01-12 12:55:14 +00:00Commented Jan 12, 2022 at 12:55
Add a comment
|
1 Answer
ensure the parameters, Check the replication slot status and pg_subscription_rel status by refer the documentation https://www.postgresql.org/docs/current/catalog-pg-subscription-rel.html. If you could see status=i you have to re-configure the replication by increasing max_logical_replication_workers & max_work_processer.