Unlock instant, AI-driven research and patent intelligence for your innovation.

Data migration method and device

A data and database technology, applied in the computer field, can solve problems such as no rollback scheme, difficult data consistency verification, and inability to perceive, so as to achieve the effect of ensuring consistency, good user experience, and dynamic migration

Pending Publication Date: 2021-07-20
BEIJING JINGDONG TUOXIAN TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method is prone to migration failure, and it cannot be perceived, which brings difficulties to the verification of data consistency
And, if the database migration fails, the original database cannot be switched back in time, there is no good rollback plan, and the user experience is poor

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] 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.

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

[0045] like figure 1 As shown, the main steps of the data migration method may include:

[0046] Step S101, receiving a data migration request, and obtaining the existing data stored in the original database, the new database, and the or...

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 embodiment of the method comprises the steps of receiving a data migration request, and obtaining an original database, a new database and existing data stored in the original database according to the data migration request; according to the version information of the existing data, synchronizing the existing data from the original database to the new database; acquiring change data corresponding to the data change event, and synchronizing the change data from a database corresponding to the data change event to a target database according to version information of the change data; if the database corresponding to the data change event is the original database, the target database being the new database, and if the database corresponding to the data change event is the new database, the target database being the original database. According to the embodiment, migration does not need to be stopped, the situation that new data are covered can be avoided, and dynamic migration of the data and consistency of the data are guaranteed.

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] As user data reaches a certain level, there is a problem that the original database cannot support the performance requirements required by the existing business. In this regard, user data needs to be migrated to a new database that can expand capacity. At present, the following methods are mainly used for data migration. [0003] 1. Service suspension and migration, that is, to issue a service suspension announcement and service suspension time in advance, suspend services, and perform static data migration. However, users will not be able to use the service for a period of time, which is very unfriendly to users, and stopping the service will cause losses, and it must be completed within the specified time, resulting in certain work pressure. [0004] 2. Use the message table to record data changes, first mi...

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/23G06F16/27
CPCG06F16/214G06F16/219G06F16/23G06F16/27
Inventor 安勇聪
Owner BEIJING JINGDONG TUOXIAN TECH CO LTD