Data one-key migration method and device, electronic device and storage medium

A data and database technology, applied in the field of data processing, can solve problems such as low data efficiency and achieve the effect of improving migration efficiency

Inactive Publication Date: 2020-01-10
MIGU MUSIC CO LTD +1
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Embodiments of the present invention provide a one-key data migration method, device, electronic equipment, and storage medium, which are used to solve the defect of inefficient data migration from

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
  • Data one-key migration method and device, electronic device and storage medium
  • Data one-key migration method and device, electronic device and storage medium
  • Data one-key migration method and device, electronic device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0041] In order to make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0042] The invention relates to a one-key data migration method, device, electronic equipment and storage medium, which are mainly used in data migration scenarios from relational databases to non-relational databases, especially one-key data from Mysql database to Mongodb database In the migration scenario, the basic idea is: first c...

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 embodiment of the invention provides a data one-key migration method and device, an electronic device and a storage medium, and the method comprises the steps: determining a first field definitionfile of to-be-migrated data in a relational database, and the first field definition file storing a field of the to-be-migrated data and a first data type defined by the field; determining a second field definition file supported by a non-relational database according to the first field definition file and a mapping relationship, wherein the mapping relationship is mapping between the first datatype and a second data type in a non-relational database, and the second field definition file stores the field and the second data type corresponding to the field; and migrating the to-be-migrated data in the relational database to the non-relational database in a one-key manner according to the second field definition file. The method has the beneficial effect that the one-key migration of the data from the non-relational database to the relational database can be realized.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a data one-key migration method, device, electronic equipment and storage medium. Background technique [0002] A relational database refers to a database that uses a relational model to organize languages. For example, Mysql database is an open source relational database management system, which is used to store, query, update and manage relational database systems. It has the advantages of small size, fast speed and high flexibility. , widely used in the Internet industry; non-relational database is an open source Nosql (Non-Structured Query Language, non-structured query language) database, such as Mongodb (Mongo Database, Mango Database), which is a document-based model and supports indexing , replication, transaction, and sharding. The number of objects in non-relational databases such as Mongodb is not limited. Non-relational databases such as Mongodb can sp...

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
IPC IPC(8): G06F16/21G06F16/27
CPCG06F16/214G06F16/27
Inventor 张开威
Owner MIGU MUSIC CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products