Quantcast
Channel: Postgresql 11 logical replication - stuck in `catchup` state - Database Administrators Stack Exchange
Viewing all articles
Browse latest Browse all 3

Answer by Rafel Bennassar for Postgresql 11 logical replication - stuck in `catchup` state

$
0
0

As you already found out your master database is too busy for single replication worker to handle all of the changes.

You need to cluster your tables - but make sure you do it in such way that tables with foreign keys are handled with the same worker, otherwise you might get into situation where foreign key constraint will prevent data from being inserted into one table because table foreign key points at had not been updated yet.


Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>