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

Data comparison method and device based on database migration

A data comparison and database technology, applied in the information field, can solve problems such as improving the comparison efficiency and reducing the cost of the same transaction result, so as to improve the comparison efficiency and reduce the cost.

Pending Publication Date: 2020-07-03
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Aiming at the problems in the prior art, the data comparison method and device based on database migration provided by the present invention overcomes the inability to compare a single transaction flexibly, quickly, efficiently and accurately during the migration process of a large data-level database The problem of data consistency before and after enables users to transparently control the results of business migration during the process of migrating business from commercial databases such as ORACLE and DB to localized databases, and at the same time greatly reduces the consistency ratio of the same transaction results after migration Cost and Boost vs. Efficiency

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 comparison method and device based on database migration
  • Data comparison method and device based on database migration
  • Data comparison method and device based on database migration

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0068] In view of the fact that the comparison method before and after database migration in the prior art is the comparison of the entire database data, this method is time-consuming and difficult to be accurate, and cannot meet the requirements for refined management in software engineering. Based on this, embodiments of the present invention pr...

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 provides a data comparison method and device based on database migration. The database migration-based data comparison method comprises the steps of obtaining a source database type anda target database type; generating a query statement according to a preset database table name and a preset parameter entry field; determining database drive connection according to the source database type and the target database type; and comparing the data in the source database and the target database according to the query statement and the database drive connection. According to the invention, deep dependence on an ORACLE database in the fields of finance and communication is overcome; the method solves the problems that in domestic database transformation, when services are migrated, the correctness and data consistency of the migrated services are difficult to verify, and especially the situation that at present, a method which can provide batch execution, can be repeatedly executed, is simple and easy to use and can execute transaction units in batches to compare multi-database execution results does not exist in the industry.

Description

technical field [0001] The present invention relates to the field of information technology, in particular to the technical field of application of localized database technology in the fields of finance and communication, and in particular to a data comparison method and device based on database migration. Background technique [0002] At present, in the field of finance and communication, the database software of foreign companies such as ORACLE and DB2 occupies most of the market. However, with the development of the national information technology industry planning and localization strategy, the domestic Information products have been gradually fully used in various industry organizations. It has become a mainstream trend to go to ORACLE and migrate from ORACLE database to localized database. In the process of database migration, how to quickly and effectively check whether the data in the Oracle database and the localized database for the same transaction are consistent...

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/242G06F16/2455
CPCG06F16/214G06F16/2433G06F16/2456Y02D10/00
Inventor 蔡兵克张泳何田竹
Owner INDUSTRIAL AND COMMERCIAL BANK OF CHINA
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