Distributed database cluster system, data synchronization method and storage medium
A cluster system and data synchronization technology, applied in the field of distributed databases, can solve problems such as the inability to achieve global consistency at time points, and achieve the effect of ensuring global consistency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] This embodiment provides a distributed database cluster system. figure 1 is a schematic diagram of the architecture of the distributed database cluster system according to Embodiment 1 of the present invention, such as figure 1 As shown, the distributed database cluster system may include: a first synchronous clock module 12, a first data synchronization module 14 and a plurality of first database groups 16, wherein each of the plurality of first database groups 16 A database group 16 includes a first master database (not shown in the figure),
[0037] The first synchronous clock module 12 is used to periodically send clock synchronization instructions;
[0038] The first data synchronization module 14 is used to respectively encapsulate the database operation instructions recorded between two adjacent clock synchronization instructions sent by the first synchronization clock module 12 into first operation instructions for each first master database block, and send the ...
Embodiment 2
[0070] This embodiment provides another distributed database cluster system. The distributed database cluster system can be used as the receiving end of data synchronization. Of course, when it is also given the function of the initiator of data synchronization, it can also be used as the initiator of data synchronization. At this time, you can refer to Embodiment 1 . Figure 4 is a schematic diagram of the architecture of the distributed database cluster system according to Embodiment 2 of the present invention, such as Figure 4 As shown, the distributed database cluster system may include: a second data synchronization module 42 and a plurality of second database groups 44, wherein each second database group 44 in the plurality of second database groups 44 includes a first Two main databases (not shown in the figure),
[0071] The second data synchronization module 42 is configured to receive an operation instruction block sent by the peer distributed database cluster sys...
Embodiment 3
[0090] This embodiment describes the processing flow of the initiator of data synchronization. Figure 6 is a flowchart of a data synchronization method according to Embodiment 3 of the present invention. The data synchronization method is applied to a first distributed database cluster system including a plurality of first database groups 16, wherein each first database group 16 in the plurality of first database groups 16 includes a first master database. Such as Figure 6 As shown, the method includes:
[0091] Step S602, the first distributed database cluster system regularly sends clock synchronization instructions;
[0092] Step S604, the first distributed database cluster system respectively encapsulates the database operation instructions recorded between two adjacent clock synchronization instructions of each first master database into a first operation instruction block, and sends the first Operation instruction block.
[0093] Through the above scheme, the first...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com