MongoDB middleware, data storage method and data migration method
A middleware and data technology, applied in the database field, can solve the problems of complex data migration and single storage field in MongoDB cluster, and achieve the effect of improving performance and avoiding data duplication and omission.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0028] In order to make the purpose, technical solutions and beneficial effects of the present invention more clear, the technical solutions in the present invention will be further described below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
[0029] see figure 1 , the first aspect, the present invention provides a kind of data storage method based on MongoDB middleware, comprising:
[0030] S101, configure the storage policy of sub-database and sub-table of the MongoDB storage database, the sub-database adopts the principle of sub-database of a single field, and the sub-table adopts the principle of sub-table of single or multiple fields;
[0031] S102, associate the storage policy with the MongoDB storage resource pool, and perform caching and initialization;
[0032] S103, according to the storage polic...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


