Data migration method and device, storage medium and program product

A data and database technology, applied in the database field, can solve the problems of secondary errors, decreased migration efficiency, command errors, etc., to achieve the effect of accurate export, reduce manual participation, and ensure accuracy

Pending Publication Date: 2021-08-24
AGRICULTURAL BANK OF CHINA
View PDF7 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The existing data migration method is slow and inefficient, and cannot fully utilize the I / O, CPU and network resources of the server, especially when migrating massive data, the data migration time may be as long as more than ten hours
Moreover, the data migration process requires more manual participation. For example, some parameter selections are often subjectively selected by the executor based on experience, which leads to a decrease in migration efficiency and easily leads to command errors; The possibility of reporting, and for abnormal data processing, if it cannot be discarded directly, manual analysis and manual re-execution of commands are required, which is time-consuming and labor-intensive and can easily cause secondary errors

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, storage medium and program product
  • Data migration method and device, storage medium and program product
  • Data migration method and device, storage medium and program product

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053]Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

[0054] First, the nouns involved in this application are explained:

[0055] BCP: A tool for large-capacity data replication between database instances (such as Syabse, Microsoft SQL Server) and data files. It can import large amounts of data into database tables and export database tables to data files.

[0056] SQLLDR: The data loading tool provided by the Oracle database, which can im...

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 migration method and device, a storage medium and a program product, and the method comprises the steps: exporting data of an original database table to be exported in an original database to obtain a first file; determining a migration strategy according to capacity information and/or system performance information of the database table, and importing data in the first file into a target database according to the migration strategy to form a target database table; exporting data of the target database table of the target database to obtain a second file; and comparing the content of the second file with the content of the first file, and if the content of the second file is consistent with that of the first file, determining that data migration succeeds. By means of the process, mass data migration, inspection and checking can be completed in a one-button mode. According to the method and the device, the optimal export and import strategy can be selected according to the database table capacity and/or the system performance, efficient and accurate export and import of the data are achieved, manual participation is reduced, in addition, full-amount comparison of the data is achieved based on file comparison, and the accuracy of mass data migration is guaranteed.

Description

technical field [0001] The present application relates to the technical field of databases, in particular to a data migration method, device, storage medium and program product. Background technique [0002] In the construction of the commercial bank information system, the Syabse database used earlier could not meet the growing demands of high concurrency and remote disaster recovery, and needed to be migrated to the Oracle database with better performance. However, heterogeneous databases, massive data, and character set differences all affect the efficiency and accuracy of data migration. [0003] In the prior art, data migration usually uses a command line or a database operation graphical interface, and adopts a fixed migration strategy to export and import database tables one by one; for abnormal data during the export and import process, it is often discarded or manually imported. In addition, in the process of data import and export, inspection and verification are ...

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/21
CPCG06F16/214
Inventor 陈林
Owner AGRICULTURAL BANK OF CHINA
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