Method and system for storing data on the basis of document database
A technology for storing data and databases, applied in the field of data storage systems, can solve problems such as system slowdown, database deadlock, downtime, etc., and achieve the effect of improving website speed, ensuring consistency, and improving experience
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0020] Such as figure 1 As shown, this method of storing data based on a document database includes the following steps:
[0021] (1) The MSSQL database server receives a request to write data;
[0022] (2) Evenly distribute data requests on several MongoDb database server nodes through a consistent hash algorithm;
[0023] (3) Add the code written in the several libraries into a transaction to complete data synchronization, thereby ensuring the consistency of data in MongoDb and MSSQL.
[0024] Further, as figure 2 As shown, the step (2) includes the following sub-steps:
[0025] (2.1) look for MongoDb database server node, if find this node then execute step (2.4), otherwise execute step (2.2);
[0026] (2.2) Obtain a submap larger than the current node;
[0027] (2.3) Take out the first node from the submap, and this node is the node that is larger than and the nearest to the ion map;
[0028] (2.4) Take the node as the desired node;
[0029] (2.5) end.
[0030] Sp...
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