Checking Whether the MAX_REPLICATION_SLOTS Value in the Source Database Is Correct
During PostgreSQL synchronization, the max_replication_slots value of the source database must be greater than the number of used replication slots. Otherwise, the synchronization may fail.
Failure Cause
The max_replication_slots value of the source database is less than or equal to the number of used replication slots.
Handling Suggestion
Set max_replication_slots to a value greater than the number of used replication slots and restart the database to apply the changes. Run the following command to query the number of used replication slots in the current database:
select count(1) from pg_replication_slots;
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot