Database replication method and apparatus for distributed system
AssigneeHuawei Technologies Co., Ltd.
InventorsGuoping Wang, Junhua Zhu
Life of this patent
Estimating the term…
Loading patent…
AssigneeHuawei Technologies Co., Ltd.
InventorsGuoping Wang, Junhua Zhu
Estimating the term…
A database replication method and apparatus for a distributed system are provided and relate to the database field. The method includes: receiving by a coordination server, a timestamp of a multi-partition transaction newly added to a first partition of a secondary cluster; determining, by the coordination server, a target timestamp for the first partition based on the received timestamp of the newly added multi-partition transaction and a stored multi-partition transaction timestamp of each partition of the secondary cluster; and sending, by the coordination server, the target timestamp to the first partition, so that the first partition executes a replication log in the first partition based on the target timestamp. In this way, the corresponding partition can execute, without waiting, a multi-partition transaction that is present in all the partitions but has not been executed, thereby avoiding data inconsistency and increasing replication efficiency.
A database replication method for a distributed system, the method comprising:
A database replication method for a distributed system, the method comprising:
A coordination server, comprising:
Dependencies are inferred from the claim text.