← Back to Patent Explorer
US4878167A Expired / Lapsed US ⏱️ 0.0 years remaining

Method for managing reuse of hard log space by mapping log data during state changes and discarding the log data

Assignee: International Business Machines Corp
•
Filing: 1986-06-30
•
Granted: 1989-10-31
•
Expires: 2006-06-30
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

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.

Inventors

  • 👤 Kenneth M. Kapulka
  • 👤 Holly A. Rader
  • 👤 Jimmy P. Strickland

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-10-23 17:22
CPC Classifications
G; G06; G06F; G06F16/00; G06F16/20; G06F16/23; G06F16/2379; G06F16/2358; G06F11/00; G06F11/07; G06F11/14; G06F11/1471; G06F2201/00; G06F2201/87

Claims Analysis

Total Claims: 7
Claim 1
Independent Claim 263 words
A method, implemented on a digital computer system, for managing the reuse of space on a hard log stored on memory means in said computer system in support of forward resource recovery (FIG. 4) in a transaction-oriented system in which concurrently executing, failure-independent processes share a common hard log and one or more resources, comprising the steps of: (a) recording log data on said memory means with a log manager in said computer system in a partitioned fashion by a unit of recovery (UR) in a transaction recovery stream (TRS) resident on the hard log, said UR selectively assuming an inflight, ensure commit, or ensure abort state (FIGS. 2, 3, 6); (b) classifying using said log manager to classify the log data into subsets (BEGIN, COMMIT, ABORT, END, REDO, UNDO) according to the function of their role in recovery (FIGS. 6, 8); (c) responsive to UR state changes from either inflight to ensure commit (FIG. 2) or inflight to ensure abort (FIG. 3), using said log manager to perform a one-to-n mapping of the log data of one of said subsets (typed REDO or UNDO shown in FIGS. 9, 10, 13-16) from a given UR partition on the TRS into resource recovery streams (RRSs) (FIGS. 5, 7); and (d) at the termination (END) of the UR state changes utilizing the RRSs, using said log manager to discard all log data identified on the hard log as belonging to the given UR partition from the TRS rendering space occupied by said discarded log data on said hard log amenable to reuse (FIGS. 11, 17-24).
Claim 2
Independent Claim 263 words
A method, implemented on a digital computer system, for managing the reuse of space on a hard log stored on memory means in said computer system in support of forward resource recovery (FIG. 4) in a transaction-oriented system in which concurrently executing, failure-independent processes share a common hard log and one or more resources, comprising the steps of: (a) recording log data on said memory means with a log manager in said computer system in a partitioned fashion by a unit of recovery (UR) in a transaction recovery stream (TRS) resident on the hard log, said UR selectively assuming an inflight, ensure commit, or ensure abort state (FIGS. 2, 3, 6); (b) classifying using said log manager to classify the log data into subsets (BEGIN, COMMIT, ABORT, END, REDO, UNDO) according to the function of their role in recovery (FIGS. 6, 8); (c) responsive to UR state changes from either inflight to ensure commit (FIG. 2) or inflight to ensure abort (FIG. 3), using said log manager to perform a one-to-n mapping of the log data of one of said subsets (typed REDO or UNDO shown in FIGS. 9, 10, 13-16) from a given UR partition on the TRS into resource recovery streams (RRSs) (FIGS. 5, 7); and (d) at the termination (END) of the UR state changes utilizing the RRSs, using said log manager to discard all log data identified on the hard log as belonging to the given UR partition from the TRS rendering space occupied by said discarded log data on said hard log amenable to reuse (FIGS. 11, 17-24).
Claim 3
Dependent Claim 40 words
The method according to claim 1, wherein the recorded log data in the TRS includes data to determine the UR state, data necessary to ensure an abort of the UR, and data necessary to ensure a commit of the UR.
Claim 4
Dependent Claim 44 words
The method according to claim 1, wherein the subset of log data subject to a one-to-n mapping includes records classified as REDO when the UR state is to commit (FIGS. 15, 16) or UNDO when the UR state is to abort (FIGS. 13, 14).
Claim 5
Independent Claim 324 words
A method, implemented on a digital computer system, for managing the reuse of space on a hard log stored on memory means in said computer system in support of forward resource recovery (FIG. 4) in a transaction-oriented system in which concurrently executing, failure-independent processes share a common hard log and one or more resources, and further wherein each transaction utilizes begin, commit, abort, redo/undo operations to bound the transaction, and in which redos ensure transaction return to the most recent commit point and undos ensure return to the transaction begin point, comprising the steps of: (a) initiating the recording of log data on said memory means with a log manager in said computer system in a partitioned fashion by a unit of recovery (UR) using a begin marker on a transaction recovery stream (TRS) resident on the hard log (FIG. 8); (b) using said log manager to classify and then to write and then writing to the TRS log data into subsets according to the COMMIT, ABORT, REDO, UNDO function of their role in recovery (FIGS. 6, 8, 12); (c) upon a UR state change responsive to a commit operation, used said log manager to perform a one-to-n mapping of all log data in the REDO subset of the UR partition from the TRS into predeterminedly associated resource recovery streams (RRSs), and upon a UR state change responsive to an abort operation, to perform a one-to-n mapping of log data in the UNDO subset of the UR partition from the TRS into predeterminedly associated RRSs (FIGS. 9, 15, 16 for commit and FIGS. 10, 13, 14 for abort); and (d) at the termination (END) of the UR state changes utilizing the RRSs, using said log manager to discard all log data identified on the hard log as belonging to the given UR partition from the TRS rendering space occupied by said discarded log data on said hard log amenable to reuse (FIGS. 11, 17-24).
Claim 6
Independent Claim 324 words
A method, implemented on a digital computer system, for managing the reuse of space on a hard log stored on memory means in said computer system in support of forward resource recovery (FIG. 4) in a transaction-oriented system in which concurrently executing, failure-independent processes share a common hard log and one or more resources, and further wherein each transaction utilizes begin, commit, abort, redo/undo operations to bound the transaction, and in which redos ensure transaction return to the most recent commit point and undos ensure return to the transaction begin point, comprising the steps of: (a) initiating the recording of log data on said memory means with a log manager in said computer system in a partitioned fashion by a unit of recovery (UR) using a begin marker on a transaction recovery stream (TRS) resident on the hard log (FIG. 8); (b) using said log manager to classify and then to write and then writing to the TRS log data into subsets according to the COMMIT, ABORT, REDO, UNDO function of their role in recovery (FIGS. 6, 8, 12); (c) upon a UR state change responsive to a commit operation, used said log manager to perform a one-to-n mapping of all log data in the REDO subset of the UR partition from the TRS into predeterminedly associated resource recovery streams (RRSs), and upon a UR state change responsive to an abort operation, to perform a one-to-n mapping of log data in the UNDO subset of the UR partition from the TRS into predeterminedly associated RRSs (FIGS. 9, 15, 16 for commit and FIGS. 10, 13, 14 for abort); and (d) at the termination (END) of the UR state changes utilizing the RRSs, using said log manager to discard all log data identified on the hard log as belonging to the given UR partition from the TRS rendering space occupied by said discarded log data on said hard log amenable to reuse (FIGS. 11, 17-24).
Claim 7
Dependent Claim 43 words
The method according to claim 1 or 4, wherein a UR partition defined on each of m resources is distributed among n RRSs where m>n such that at least one RRS contains the log data from two resources (FIGS. 18, 20, 22, 24).

References Cited (Backward Citations)

US4507751A Cited
US4648031A Cited
US4498145A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 1992-10-30 1993-05-01 1993-10-31 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 1996-10-30 1997-05-01 1997-10-31 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2000-10-30 2001-05-01 2001-10-31 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag