A data migration method and device

A data and database technology, applied in the computer field, can solve problems such as time-consuming and labor-intensive data migration, achieve high throughput performance, strong scalability, and improve data migration efficiency

Active Publication Date: 2021-10-15
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But then there are new problems: because the data is stored in multiple database machines in the form of sub-database and sub-table, there will be two difficult problems. One is how to get data from the traditional database server Migrate all the data to multiple new sub-databases and sub-tables; second, the subsequent data will continue to grow, and the existing sub-databases will be expanded again, which will also involve the problem of data migration
[0007] It is necessary to manually verify the accuracy of the data. When the data verification fails, it is necessary to manually supplement the data. After the data verification is passed, it is also necessary to manually start the process of cleaning and deleting historical data, which is time-consuming and labor-intensive;

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
  • A data migration method and device
  • A data migration method and device
  • A data migration method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0041] figure 1 is a schematic diagram of main steps of a data migration method according to an embodiment of the present invention.

[0042] Such as figure 1 As shown, the data migration method in the embodiment of the present invention mainly includes the following steps S101 to S102.

[0043] Step S101: Send the data of the corresponding business from the original da...

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 device, and relates to the technical field of computers. A specific implementation of the method includes: Step 1, sending the data of the corresponding business from the original database to the message server cluster through the data scheduling task corresponding to each business; Step 2, sending the data of each business through the message server cluster The data is migrated to the corresponding database sub-database. This implementation method avoids the situation that a single data abnormality prevents the migration from continuing, and the migration task is interrupted due to a single machine downtime, realizes high-availability operation of the migration service, improves data migration efficiency, has strong scalability, and makes full use of sub-databases The high-throughput performance overcomes the long-term migration process, realizes automatic verification and cleaning of migrated data, and automatically retries unsuccessfully migrated data.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a data migration method and device. Background technique [0002] With the rapid development of the Internet today, the amount of data has grown beyond imagination and has been expanding geometrically. However, with the development of time and business in any system, the data involved in the system is also gradually increasing, and the CPU of each machine , disk, and memory are all limited, and when the amount of data is very large, the performance of the database will be very poor. Therefore, more and more enterprises have adopted the Mysql storage method of sub-database and sub-table to solve the following three types of problems: 1. The cost of database storage, Mysql is free and open source; 2. The storage space of the system can be expanded by adding machines ;3. Solve the bottlenecks of CPU, disk and memory in a single machine by adding machines. But then there are new ...

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 Patents(China)
IPC IPC(8): G06F16/21G06F16/215
CPCG06F16/214G06F16/215
Inventor 马文军
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH 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