Transaction identifier-based multi-computer-room synchronization method, computing equipment and storage medium

A transaction identification and multi-computer room technology, applied in the field of data processing, can solve the problems of large data transmission, affecting synchronization efficiency, infinite loopback, etc., and achieve the effect of small data transmission, simple judgment process, and control of data volume
CN112905696AActive Publication Date: 2021-06-04ZHANGYUE TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
ZHANGYUE TECH CO LTD
Publication Date
2021-06-04

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a transaction identifier-based multi-computer-room synchronization method, computing equipment and a storage medium. The method comprises the following steps: reading a first write data log record in a log file of a first machine room, and judging whether a domain identifier contained in a transaction identifier of the first write data log record is consistent with a domain identifier corresponding to the first machine room or not; if yes, performing synchronous data writing operation in a second machine room according to the first data writing log record, and recording a second data writing log record of the synchronous data writing operation and a transaction identifier of the second data writing log record in a log file of the second machine room, wherein the domain identifier contained in the transaction identifier of the second write data log record is set as the domain identifier corresponding to the first computer room; if not, neglecting the synchronization of the first write data log record, so that loop replication is broken, the problem of replication loopback in multi-machine-room bidirectional synchronization is solved, and the data synchronization efficiency is further improved due to the fact that the judgment process is simple.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of data processing, in particular to a multi-computer room synchronization method based on transaction identification, computing equipment and storage media. Background technique

[0002] With the growth of business volume and the expansion of business scope, a single computer room often cannot provide stable and reliable services. In this case, deploying multiple computer rooms is a more common choice. At the same time, the data in each computer room must be kept consistent and synchronized to provide accurate and consistent services to the outside world.

[0003] Multi-computer room data synchronization is usually realized based on the write data log records of the computer room database. Any data write operation to the computer room database will generate a write data log record in the log file, and replay the write data log record in another computer room to complete a data synchronization. However, th...

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