Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and system for migrating data from graph database to relational database

A database and graph data technology, applied in database management systems, database design/maintenance, structured data retrieval, etc., can solve the problems of high learning and time costs, laborious processing of graph databases, etc., to achieve the preservation of integrity and correspondence, Realize the effect of interface configuration and interactive operation

Pending Publication Date: 2021-11-30
JIANGSU DAMENG DATABASE CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In order to give full play to the huge value of massive graph data, it may be necessary to analyze the data in the graph database (referred to as graph data), such as analyzing the development trend and business revenue from the data (if there is attribute data required by the report in the graph data), from the data In analyzing the consumption tendency of user groups (if there are order information and crowd information data in the graph data), it would be laborious to deal with the above situation if it is completely relied on the graph database. Massive data cannot exert its great value in the graph database, but the relational database can handle it easily. these businesses
[0003] In reality, although graph data can be converted into relational data through complex processing, professional database practitioners must be familiar with the business logic, the two databases before and after conversion, and the relationship between data before they can operate. Learning and time costs high

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for migrating data from graph database to relational database
  • Method and system for migrating data from graph database to relational database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The present invention will be further explained below in conjunction with the accompanying drawings and specific embodiments.

[0028] The invention discloses a data migration method from a graph database to a relational database, such as figure 1 shown, including:

[0029] S1. Configure the connection information of the graph database and the connection information of the relational database, and connect them;

[0030] Configure the driver and connection string of graph database and relational database, such as address, port, login account and password, and other information. After configuration, try to connect to ensure that you can connect to the specified database normally.

[0031] In this embodiment, the graph database uses neo4j.

[0032] S2. Read the graph data information in the graph database, select the data to be migrated, and build a migration object list;

[0033] If the graph database supports multiple graphs, obtain all graph names and graph attribut...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a data migration method and system from a graph database to a relational database, and the method comprises the steps: 1, configuring the connection information of the graph database and the connection information of the relational database, and carrying out the connection; 2, reading graph data information in the graph database, selecting data to be migrated, and constructing a migration object list; wherein the migration object list comprises a vertex table or an edge table; if the migration object list comprises an edge table, the migration object list must comprise a vertex table on which the edge table depends; and 3, migrating the graph data in the graph database into the relational database by constructing an entity table or constructing an ER model according to the content in the migration object list. According to the method, the graph data can be correctly and quickly converted into the relational data.

Description

technical field [0001] The invention belongs to data migration technology, and in particular relates to a method and a corresponding system for migrating data in a graph database to a relational database. Background technique [0002] The graph database stores the adjacency information data between entities, can directly express the relationship between entities in the real world, is easy to model, and because of its unique design, it can efficiently and deeply retrieve the entities existing in massive data Therefore, more and more data are put into the graph database for management. In order to give full play to the huge value of massive graph data, it may be necessary to analyze the data in the graph database (referred to as graph data), such as analyzing the development trend and business revenue from the data (if there is attribute data required by the report in the graph data), from the data In analyzing the consumption tendency of user groups (if there are order infor...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/21G06F16/25
CPCG06F16/214G06F16/25
Inventor 付新张静修许雄凌葛玉梅
Owner JIANGSU DAMENG DATABASE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products