Database disaster tolerance synchronization method based on packet replication and database system
By using a database disaster recovery synchronization method based on group replication, multiple synchronization groups and a state mask mechanism are configured to dynamically determine the target synchronization group for transactions. This solves the problems of rigid architecture and low resource utilization in existing technologies, achieves a balance between performance and consistency, and improves the flexibility and availability of the database system.
Patent Information
- Application Number
- CN202511405180.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-29
- Publication Date
- 2026-01-23
AI Technical Summary
Existing database master-slave replication technologies suffer from rigid architecture, low resource utilization, and high operational complexity. They cannot implement fine-grained and customizable synchronization strategies within a single database instance, making it difficult to balance performance and consistency and failing to meet the needs of different businesses.
The method adopts a group-based replication approach, configuring multiple synchronization groups. Each synchronization group has independent member slaves and group synchronization levels. Through a state mask mechanism and a multi-wait queue mechanism, the target synchronization group of the transaction is dynamically determined, and the transaction is committed after all groups meet the requirements.
It achieves a balance between performance and consistency, supports multi-datacenter and cross-regional deployment, improves resource utilization, simplifies operation and maintenance, and ensures high availability of core businesses and data security.