×

Persistence and initialization of synchronization state for serialized data log replay in database systems

  • US 10,698,921 B2
  • Filed: 02/28/2017
  • Issued: 06/30/2020
  • Est. Priority Date: 02/28/2017
  • Status: Active Grant
First Claim
Patent Images

1. A computer implemented method comprising:

  • receiving table state information from a primary database system at a secondary database system, the table state information comprising information identifying which tables had an open data definition language (DDL) query during a savepoint event;

    parsing metadata associated with the tables to identify table state information from the metadata;

    creating, without a record of a start of the DDL query, a lock for each table identified as having an open DDL query during the savepoint event after replaying a corresponding DDL Start (DDLStart) transaction log record;

    parsing log transaction information sequentially;

    returning a table that is locked to an unlocked state after replaying a DDL End (DDLEnd) transaction log record; and

    initializing the secondary database after the savepoint event but before a subsequent savepoint event;

    wherein a DDL operation scope object on a DDL operation thread stack controls writing of the DDLStart and DDLEnd transaction log records so that the DDLEnd is always written regardless of how the DDL operation thread exits.

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