Data migration verification method and apparatus

A verification method and a technology of a verification device, which are applied in the electronic field, can solve problems such as low data verification performance, and achieve the effects of reducing the number of visits, improving verification results, and improving efficiency

Inactive Publication Date: 2017-03-08
ALIBABA GRP HLDG LTD
View PDF6 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the problem of low data verification performance after data import from verification files to databases in the prior art, the embodiment of this application proposes a verification method and device for data migration, which can verify the imported data with extremely high efficiency, thereby reducing The impact of data validation after data import on system performance

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] Embodiments of the present application provide a data migration verification method and device.

[0038] In order to enable those skilled in the art to better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described The embodiments are only some of the embodiments of the present application, but not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.

[0039] Such as figure 1 Shown is a flow chart of a verification method for data migration in the embodiment of the present application. In the embodiment shown in the figure, an identifier is added to a piece of data (that is, a row o...

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 relates to the technical field of electronics, in particular to a data migration verification method and apparatus. The method comprises the steps of calculating each row of migrated data in a process of migrating the data from an A end to a B end to obtain an identifier corresponding to each row of data; migrating the identifier and the row of data corresponding to the identifier to the B end; calculating a sum of identifiers corresponding to all rows of data in the migration process to obtain a first value, and calculating a sum of identifiers corresponding to all rows of data at the B end to obtain a second value; and when the first value is equal to the second value, indicating that data migration verification is passed. An embodiment of the invention furthermore provides the apparatus which executes the method. The method and the apparatus have extremely high working efficiency for data verification of the problems of row loss, row data repetition and the like in the data migration process.

Description

technical field [0001] The present application relates to the field of electronic technology, in particular to a method and device for verifying data migration. Background technique [0002] Importing a large amount of data from a file into a database (DB) is currently a common business scenario for data import, especially in Internet application scenarios, after the data is imported, it is necessary to verify the correctness of the imported data to ensure the integrity of the data in the database sex and correctness. The usual practice in the prior art is to retrieve the data from the database, and then check it with the data in the file item by item. During the check, the following problems often occur, and the following problems are particularly serious in the scenario of massive data import: [0003] Assuming that the file has a total of N lines, and the data imported into the database is M lines, read the data line by line from the file, retrieve the database, and comp...

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): G06F17/30
CPCG06F16/214G06F16/2365
Inventor 唐志慧
Owner ALIBABA GRP HLDG 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