Check patentability & draft patents in minutes with Patsnap Eureka AI!

Database data synchronous parallel execution method and device based on asynchronous submission

A technology of data synchronization and execution method, applied in the direction of database distribution/replication, structured data retrieval, etc., can solve the problems of low replication efficiency and slow synchronization of data, etc.

Inactive Publication Date: 2019-04-19
WUHAN DAMENG DATABASE
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the target-side data replication software performs replication in strict accordance with the transaction operation log sequence in the source-side log stream, the consistency of data replication can be effectively guaranteed, but the replication efficiency will be very low, because the commit operation requires the database to copy the transaction operation log It can only be returned after flashing to the log file, a large amount of IO will slow down the synchronized data

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
  • Database data synchronous parallel execution method and device based on asynchronous submission
  • Database data synchronous parallel execution method and device based on asynchronous submission
  • Database data synchronous parallel execution method and device based on asynchronous submission

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] 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 making creative efforts belong to the protection scope of the present invention. In addition, the technical features in each embodiment or a single embodiment provided by the present invention can be combined arbitrarily with each other to form a feasible technical solution, but it must be based on the realization of those skilled in the art. When there is a contradiction or cannot be realized, it should be considered that ...

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 embodiment of the invention provides a database data synchronous parallel execution method and device based on asynchronous submission. The method comprises the following steps: capturing and analyzing a transaction log of a source-end database in the source-end database, converting the analyzed transaction log of the source-end database into a transaction log in an internal message format, and sending the transaction log to a target-end data synchronization service for execution; Receiving and caching a transaction log in an internal message format at the target end data synchronization service, if a commit operation log of a transaction is received, activating a log execution thread, and executing submitted transaction operation in parallel; And asynchronously submitting the transaction, waking up and waiting for other transactions submitted by the transaction, continuing to execute disk refreshing submission, refreshing the current transaction operation log to the log file, andexecuting the database data synchronization transaction. According to the database data synchronization parallel execution method and device based on asynchronous submission provided by the embodimentof the invention, a data synchronization method of affairs can be executed in parallel during database data synchronization.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of database data processing, and in particular to a method and device for synchronously and parallelly executing database data based on asynchronous submission. Background technique [0002] The traditional database-based master-backup mechanism realizes real-time replication of database data, which is an important solution for data disaster recovery and backup to ensure data security. At present, such as Oracle's DataGuard and Dameng Database's DM7 master and backup products are mature commercial products that realize this solution. Under the database master-backup mechanism, the standby machine is generally used as the backup node, and usually only provides read-only access. Some read-only access applications such as report analysis and data mining can be performed on the standby machine, but cannot provide read-write access like the main machine. In addition, the database master-bac...

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 WUHAN DAMENG DATABASE
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More