Invention Grant
- Patent Title: Data replication method and apparatus, computer device, and storage medium
-
Application No.: US17330276Application Date: 2021-05-25
-
Publication No.: US11921746B2Publication Date: 2024-03-05
- Inventor: Haixiang Li
- Applicant: Tencent Technology (Shenzhen) Company Limited
- Applicant Address: CN Shenzhen
- Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
- Current Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
- Current Assignee Address: CN Shenzhen
- Agency: Morgan, Lewis & Bockius LLP
- Priority: CN 1910368297.X 2019.05.05
- Main IPC: G06F16/00
- IPC: G06F16/00 ; G06F16/22 ; G06F16/25 ; G06F16/27

Abstract:
This application discloses a data replication method and apparatus, a computer device, and a storage medium, and belongs to the field of database technologies. The method includes: adding, when a commitment operation of a transaction is detected, historical state data of the transaction to a data queue; adding at least one piece of historical state data in the data queue to a transmission buffer; and replicating, when a first preset condition is met, the at least one piece of historical state data in the transmission buffer to a cluster device. In this application, a node device does not need to convert an original historical state data format into a log format, and the cluster device does not need to parse a log into an original data format for storage, thereby avoiding a cumbersome log replay procedure, and improving the efficiency of the data replication process.
Public/Granted literature
- US20210279254A1 DATA REPLICATION METHOD AND APPARATUS, COMPUTER DEVICE, AND STORAGE MEDIUM Public/Granted day:2021-09-09
Information query