×

Multilevel transaction recovery in a database system which loss parent transaction undo operation upon commit of child transaction

  • US 5,287,501 A
  • Filed: 07/11/1991
  • Issued: 02/15/1994
  • Est. Priority Date: 07/11/1991
  • Status: Expired due to Term
First Claim
Patent Images

1. In a database system that include transaction means for performing transactions, including both forward and compensation transactions, on database resources at different levels of abstraction, some transactions, called subtransactions, being constituent operations of other, higher-level, parent transactions;

  • logging means for maintaining a durable operation log into which, in response to loggable events in a transaction'"'"'s performance, including the commitment of the transaction, the logging means enters log records that include a transaction ID identifying that transaction; and

    recovery means for recovering from an abort of a transaction by causing the transaction means to perform undo operations in accordance with the contents of log records that include that transaction'"'"'s ID, the improvement wherein;

    A) the log record entered into the durable operation log in response to a forward substransaction'"'"'s commitment additionally includes that subtransaction'"'"'s parent transaction'"'"'s transaction ID and undo information identifying an undo-operation routine at the parent transaction'"'"'s level for undoing that subtransaction; and

    B) the recovery means recovers from an aborted parent transaction by causing the transaction means to perform a compensation transaction at the parent transaction'"'"'s subtransaction'"'"'s level by executing the undo-operation routine identified by the undo information in a log record entered in response to the commitment of a subtransaction of that parent transaction.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×