EP0250847A2

Managing log data in a transaction-oriented system.

Abstract

A method for writing tagged (partitioned and classified) records from a first log stream to multiple recovery streams and discarding same from said first stream at the termination of the unit of recovery in a transaction- oriented system to permit first log stream reuse.

EP0250847A2, drawing sheet 1
Sheet 1 of 22

Term

Term ended

Projected expiry passed 22 May 2007, 19.3 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

5 claims: 2 independent, 3 dependent

  1. 1
    A method for reducing the amount of log data accessed and processed in a transaction-oriented system in which con­currently executing, failure-independent processes share a common log, comprising the steps of:(a) recording log data in a partitioned fashion by a unit of recovery (UR) in a transaction recovery stream (TRS);(b) classifying the log data as a function of its role in recovery (BEGIN, COMMIT, ABORT, END, REDO, UNDO);(c) responsive to UR state changes (COMMIT/ ABORT), performing a one-to-n mapping of a subset of the log data (typed REDO or UNDO) from a given UR partition on the TRS into resource recovery streams (RRSs);and (d) at the termination (END) of the UR state changes utilizing the RRSs, discarding all log data associated with the given UR partition from the TRS.
  2. 4
    A method for reducing the amount of log data accessed and processed in a transaction-oriented system in which con­currently executing, failure-independent processes share a common log, and further in which each transaction utilizes BEGIN, COMMIT, ABORT (REDO/UNDO), or END primitives to bound the transaction, REDOs ensuring transaction return to the most recent COMMIT point while UNDOs ensuring return to the trans­action BEGIN point, comprising the steps of:(a) initiating the recording of log data in a partitioned fashion by a unit of recovery (UR) using a BEGIN record on a transaction recovery stream (TRS);(b) classifying and then writing to the TRS log data as a function of its role in recovery (COMMIT, ABORT, REDO, UNDO);(c) responsive to the UR state change of COMMIT, performing a one-to-n mapping of all REDO log data of the UR partition from the TRS into predeterminedly associated resource recovery streams (RRSs), and responsive to the UR state change of ABORT, performing a one-to-n mapping of UNDO log data of the UR partition from the TRS into predeterminedly associated RRSs;and (d) at the termination (END) of the UR state changes utilizing the RRSs, discarding all log data associated with the given UR partition from the TRS.