A data synchronization method and device for a distributed heterogeneous database system

A data synchronization and database technology, applied in the field of computer applications, can solve problems such as the difficulty of timely sensing changes in remote data tables, affecting normal business operations, and inaccurate data analysis, so as to avoid inability to perceive data changes in time and save resource consumption , Guarantee the effect of normal operation

Inactive Publication Date: 2019-06-14
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF8 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the existing distributed heterogeneous database system, different types of database systems are isolated from each other. When the content of the local data table changes, it is difficult for the remote data table to perceive the change in time.
For example, when a user inserts a piece of data into an OLTP database and then uses an OLAP database to analyze and process the same batch of data, because the user fails to perceive in time that the user has modified the data through the OLTP database, the user does not use the OLAP database for analysis. When processing, the original unmodified data is used, which will lead to inaccurate data analysis; in addition, when data synchronization is performed under the premise of large data volume, there will be pressure on network pressure, disk I / O, and storage capacity, which is very consuming Computing resources, seriously affecting normal business operations

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
  • A data synchronization method and device for a distributed heterogeneous database system
  • A data synchronization method and device for a distributed heterogeneous database system
  • A data synchronization method and device for a distributed heterogeneous database system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments and descriptions of the present invention are used to explain the present invention, but not to limit the present invention.

[0028] In order to synchronize data in a distributed heterogeneous database system environment, avoid the inability to perceive data changes in different types of database systems in time, and effectively improve the accuracy of data query and analysis, the embodiment of the present invention provides a distributed heterogeneous The data synchronization method of the database system, such as figure 1 As shown, the method may include:

[0029] Step 101. Obtain one or more sets of operation instructions and operation information, and send the operation instructions and...

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 synchronization method and device for a distributed heterogeneous database system. The method comprises the steps of obtaining one or more sets of operation instructionsand operation information, and sending the operation instructions and the operation information to a first database cluster, wherein the operation instructions comprise the insertion data, update data or deletion data, and the operation information comprises an operation position and a data value; receiving an operation result returned after the first database cluster modifies the data at the corresponding operation position according to each group of operation instructions and operation information; and according to each operation result, packaging the corresponding operation instruction andoperation information into a message to be sent out, wherein the message is used for carrying out data synchronization on the corresponding operation position in the second database cluster, so thatthe situation that the change of data cannot be perceived in time between different types of database systems is avoided, and the accuracy of data query and analysis is effectively improved.

Description

technical field [0001] The invention relates to the field of computer applications, in particular to a data synchronization method and device for a distributed heterogeneous database system. Background technique [0002] Today, with the explosive growth of information and data, big data has become an important strategic asset for enterprises. At present, big data processing is mainly divided into two categories: the first category is represented by OLAP (On-Line Analytical Processing, referred to as OLAP), which is aimed at massive data mining and complex analysis and calculation; the second category is online transaction processing. (On-line transaction processing, referred to as OLTP) as a representative, including traditional transaction operations and real-time access to massive data. In order to meet the above two types of data processing requirements at the same time, large enterprises will use different types of distributed database systems according to business scen...

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/27
Inventor 沈贇翁晓俊刘雪晶王能
Owner INDUSTRIAL AND COMMERCIAL 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