Distributed high-fault-tolerance data real-time synchronization method from MongoDB to HBase
A real-time synchronization and distributed technology, applied in the database field, can solve problems such as lack of a more general method, and achieve the effect of avoiding single point of failure, improving robustness and high synchronization efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0032] The present invention will be further described below in conjunction with the drawings.
[0033] See figure 1 , The distributed high-fault-tolerant data real-time synchronization method from MongoDB to HBase of the present invention includes the following steps:
[0034] Step S1, enable MongoDB's oplog operation logging function (replicated and sharded deployment methods are enabled by default, single-node deployment requires manual configuration to enable), and ensure that the two databases of MongoDB and HBase are in the initial state with the same data.
[0035] Oplog is a collection used to implement data backup in MongoDB. The collections in MongoDB are all stored in json format. The main function of oplog is to store write operations in MongoDB, which are divided into additions, deletions, modifications, table creation, database statements, and system no operations. And other types.
[0036] Step S2: The producer reads the location timestamp as a checkpoint, and reads the...
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