A method of model conversion and data migration from relational database to mongodb
A model conversion and database technology, applied in the field of computer databases, can solve problems such as low efficiency and guide data migration, and achieve the effect of improving performance and simple and efficient data migration.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0095] Such as Figure 4 As shown, the country table and city table are one-to-many relationships with the city table and address table, and the "frequent connection" label is included between the two tables, indicating that the join operation is often performed; and the address table does not contain the "large data volume", "frequently modified" or "frequently inserted" tags, so the "embedded child entity" tag is added to the relationship between the city table and the address table. There is a "large data volume" label on the city table, so the "reference" label is added to the relationship between the country table and the city table.
[0096] S32. Convert the conceptual model to the physical model of MongoDB through the model conversion algorithm; as Figure 5 As shown, it specifically includes the following steps:
[0097] B1. Convert the conceptual model containing operation labels into a directed graph; where each entity is a point on the directed graph, and the "emb...
Embodiment 2
[0103] Such as Figure 6As shown, take part of the sample database sakila of the MySQL database as an example. Firstly, the conceptual model is extracted from the existing relational database, and a descriptive label is added to the conceptual model according to the log information of the relational database. It should be noted that this embodiment only uses the "frequent connection" label; as shown in Figure (A), the staff table and store table and the address table and store table often perform join operations, and generate operation labels according to step S31, and convert It is a directed graph as shown in (B). Since the directed graph contains a cycle, the heustic algorithm is used to solve the ring to form a directed acyclic graph as shown in (C), and then the directed acyclic graph The graph is topologically sorted to determine the nesting order between entities. Finally, according to the result of topological sorting and the conceptual model, we get the physical mode...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



