Data consistency verification method based on Oracle database

A verification method and database technology, applied in the field of data consistency verification based on Oracle database, can solve the problems of low table verification efficiency, large resource consumption, time consumption, temporary table space or file system directory, etc., and achieve configuration Ease of use, fast calibration efficiency

Active Publication Date: 2015-02-11
上海新炬网络技术有限公司
View PDF2 Cites 44 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Directly using Oracle GoldenGate Veridata for verification is an official method of Oracle. The bottleneck of this method is: 1) The cost is higher, and Oracle GoldenGate Veridata software needs to be purchased separately, and it may be necessary to purchase a new machine and build a database; 2) For inconsistent records found after the initial comparison (usually due to time delay), the method of re-verifying the consistency of a single record is used. If a single record changes multiple times during the verification period, it can only be identified as a change 3) The accuracy of the verification is relatively fine, but it costs a lot of resources and time; 4) The verification efficiency of tables without primary keys or unique keys is low, and consumes a large amount of temporary table space or file system Table of contents
[0021] It can be seen from the above that none of the existing Oracle database processing methods can completely solve the problem of data consistency

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 consistency verification method based on Oracle database
  • Data consistency verification method based on Oracle database
  • Data consistency verification method based on Oracle database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0039] figure 1 It is a schematic diagram of the data consistency check process based on the Oracle database in the present invention.

[0040] See figure 1 , the data consistency checking method based on Oracle database provided by the present invention comprises the steps:

[0041] Step S1: Suspend the Oracle database replication process, so that the Oracle database commits all transactions; for example, if the seqno and rba values ​​of the replication process are checked to be consistent, it can be confirmed that the replication process is in a stopped state.

[0042] Step S2: Obtain the time stamp information SCN of the source database; the time stamp information will be different for different database platforms. For the oracle database involved in the present invention, the time stamp information available for verification is SCN. The full nam...

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 consistency verification method based on an Oracle database. The data consistency verification method comprises the following steps: a) pausing the Oracle database copy progress, and enabling the Oracle database to submit all affaires; b) acquiring time stamp information SCN of a source end database; c) checking a target end database and acquiring present time stamp information SCN, restarting the paused Oracle database copy progress, and recovering Oracle database synchronization; and d) under the condition that the time stamp information SCN of the source end database and the target end database is consistent, performing data consistency verification on corresponding lists. By adopting the data consistency verification method based on the Oracle database, the data consistency verification is performed after matched time stamp information is acquired, so that relatively frequent recording can be successfully processed, no any service logic or major key is depended, the verification efficiency is high, the verification speed is high, and the configuration is simple and easy to use.

Description

technical field [0001] The invention relates to a data verification method of a database, in particular to a data consistency verification method based on an Oracle database. Background technique [0002] Oracle GoldenGate software is a log (log)-based structured data replication software. It obtains data addition, deletion, and change by parsing the source database online log or archive log, and then applies these changes to the target database to realize the source database. Synchronize and active-active with the target database. Oracle GoldenGate software can realize sub-second real-time replication of large amounts of data between heterogeneous IT infrastructures (including almost all common operating system platforms and database platforms). [0003] Oracle GoldenGate is a software-based data replication method. It parses data changes from the database log, converts data changes into its own format, and transmits them directly through the TCP / IP network without relying...

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/30G06F11/00
CPCG06F16/2365G06F16/27
Inventor 程永新宋辉黎君原
Owner 上海新炬网络技术有限公司
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