×

Method, System, and Program for Merging Log Entries From Multiple Recovery Log Files

  • US 20060218206A1
  • Filed: 06/12/2006
  • Published: 09/28/2006
  • Est. Priority Date: 08/12/2002
  • Status: Abandoned Application
First Claim
Patent Images

1. A method for determining changes caused by a single transaction and transaction order when transaction changes are recorded in multiple database recovery logs containing log entries in support of a two-phase commit protocol, comprising:

  • recording in the log entries pursuant to the two-phase commit protocol a globally unique transaction identifier for each transaction, wherein multiple log entries in multiple database recovery logs that correspond to one transaction have a same globally unique transaction identifier;

    maintaining in the log entries pursuant to the two-phase commit protocol a causally ordered, ascending timestamp value;

    for each of the multiple database recovery logs, marking identically all the log entries related to a single transaction with a mark unique to the single transaction in a given one of the database recovery logs; and

    identifying global changes for the single transaction from the log entries in the multiple database recovery logs based on the marking and the globally unique transaction identifier for each transaction by reading log entries based on the causally ordered, ascending timestamp value.

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