What Is the Time Delay for Primary/Secondary Synchronization in a Replica Set?
The delay for primary/secondary synchronization cannot be calculated using a formula. The delay is affected by the following factors:
- Network communication status
- Transaction pressure on the primary node, that is, transactions per second (TPS) of the primary node
- Transaction size executed by the primary node, that is, the duration of a transaction execution
- Load of the secondary node
If the primary node bears heavy pressure within a period and executes a large number of transactions per second, the synchronization to the secondary node is delayed.
You can view metric "Delay Between Primary and Secondary Nodes" of the secondary node on the Cloud Eye console to know the synchronization delay.
Database Performance FAQs
- When Will a Primary/Standby Switchover Be Triggered for a Cluster or Replica Set?
- High Storage Usage
- What Is the Time Delay for Primary/Secondary Synchronization in a Replica Set?
- How Is Data Transferred Between the Primary and Secondary Nodes of a Replica Set?
- How Do I Clear an Alarm Saying the Shard Memory Usage Exceeds 90%?
- What Can I Do If a Query Error Is Reported After Data Is Written Into the DDS Cluster?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
more