Patent ID: 9652519
Date: 2017-05-16
CPC Classifications: G06F,Y10S

Claim:
1. A computer program product comprising a non-transitory computer readable storage medium having a computer readable program stored therein for handling transaction messages in asynchronous data replication in a database system, the database system including a source node and a target node, wherein the computer readable program, when executed by a computing device, causes the computing device to: receiving a first transaction message from the source node in a receive queue of the target node, wherein the first transaction message comprises at least one recovery log entry for a change on a table copy at the source node; determine whether the first transaction message depends on a preceding non-completed transaction message; responsive to the first transaction message not depending on the preceding non-completed transaction, apply the row change associated with the first transaction message to the table copy at the target node without holding the first transaction message; and responsive to application of the row change associated with the first transaction message being complete, place the first transaction message in a done queue at the target node, wherein applying the row change associated with the first transaction message to the table copy at the target node comprises: placing the first transaction message in a work queue at the target node; and applying the row change associated with the first transaction message in parallel with applying a row change associated with a second transaction message in the work queue via a plurality of agent threads at the target node.