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

Method and system for implementing from asynchronous copy to synchronous copy by data

A synchronous replication and asynchronous replication technology, applied in the field of database systems, can solve the problems of reduced system reliability, excessive interaction, and complex processes, and achieve the effects of maintaining reliability, speeding up data synchronization, and improving efficiency

Inactive Publication Date: 2011-07-13
ZTE CORP
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The object of the present invention is to propose a conversion method and system from asynchronous replication to synchronous replication of data, which is used to solve the problem of excessive interaction and complicated process in the process of conversion from asynchronous replication to synchronous replication of data between databases in the prior art Problems that greatly reduce system reliability

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
  • Method and system for implementing from asynchronous copy to synchronous copy by data
  • Method and system for implementing from asynchronous copy to synchronous copy by data
  • Method and system for implementing from asynchronous copy to synchronous copy by data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] The main technical idea of ​​the present invention is that the present invention separates the process of asynchronous replication and synchronous replication of data, speeds up the data synchronization between the backup node and the active node, enables the backup node to provide application services to the outside world faster, and the backup node asynchronously replicates It does not depend on the active node, but can be performed by any other normal working node in the cluster, which can greatly reduce the load on the active node.

[0045] The main steps of the method of the present invention are as follows:

[0046] Step 1, the asynchronous replication unit of the standby node receives an asynchronous replication request, and sends an asynchronous replication request to the asynchronous replication unit of the source node;

[0047]Step 2, the source node submits the log to the standby node, and judges in real time whether the deviation between the submitted log an...

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 method for converting an asynchronous copy of data to a synchronous copy and a system, the method mainly comprises the following steps: receiving requirements of the asynchronous copy by an asynchronous copy unit of a standby node, transmitting requests of the asynchronous copy to the asynchronous copy unit of a source node, submitting a journal to the standby node by the source node, judging the submitted journal of the standby node in real time and judging whether the deviation of the asynchronous copy journal which is synchronized to the standby node satisfies theappointed range of the system, if the deviation satisfies the range, receiving the synchronous copy requirements by the synchronous copy unit of the standby node, applying for carrying out the synchronous copy to the synchronous copy unit of a main node, otherwise, continuously submitting the synchronized journal to the standby node, and starting the synchronous copy by the main node, memorizing the synchronized journal to a journal chasing buffering area in a buffering mode. The invention speeds up the data synchronization of the standby node and the main node, reduces the interactive processes of the main and the standby nodes, greatly reduces the bearing of the main node and maintains the reliability of the system.

Description

technical field [0001] The invention relates to the field of database systems, in particular to the replication of data between multiple databases, in particular to a conversion method and system from asynchronous replication to synchronous replication of data. Background technique [0002] At present, in order to improve the reliability of the database system, redundant backup is usually used, that is, to run two or more database nodes containing the same content at the same time to improve the system's ability to resist risks, so that data replication within multiple nodes It is the prerequisite for the reliable operation of the whole system. [0003] Generally speaking, data replication can be divided into synchronous and asynchronous. Synchronous replication ensures that the data of each node is completely consistent, while asynchronous replication allows certain content deviations between the standby node and the active node. Due to abnormal conditions, nodes that usua...

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 Patents(China)
IPC IPC(8): H04L1/22H04L29/08G06F17/30
Inventor 肖旸章恩华郑国斌
Owner ZTE CORP
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