×

Data Synchronization with Minimal Table Lock Duration in Asynchronous Table Replication

  • US 20160147617A1
  • Filed: 03/13/2015
  • Published: 05/26/2016
  • Est. Priority Date: 11/25/2014
  • Status: Active Grant
First Claim
Patent Images

1. A computer implemented method for minimizing table lock duration during lost change resynchronization between a source table and a replica table, comprising:

  • detecting, by at least one processor, a restart at a source node or a replica node, the source node having a source table and the replica node having a replica table;

    locking, by the at least one processor, the source table based on the detection;

    creating, after the locking, by the at least one processor, a first database transaction for a lost change resynchronization operation, the first database transaction having a timestamp representing the creation time of the first database transaction;

    unlocking, after the creating, by the at least one processor, the source table;

    comparing, by the at least one processor, the first database transaction to a second database transaction based on the timestamp of the first database transaction; and

    selecting, by the at least one processor, for execution the first database transaction or the second database transaction based on the comparison;

    wherein at least one of the detecting, locking, creating, unlocking, comparing, and selecting are performed by one or more computers.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×