Patent US6185699B1 successfully refreshed from Google Patents.
← Back to Patent Explorer
US6185699B1 Expired / Lapsed US ⏱️ 0.0 years remaining

Method and apparatus providing system availability during DBMS restart recovery

Assignee: International Business Machines Corp
•
Filing: 1998-01-05
•
Granted: 2001-02-06
•
Expires: 2018-01-05
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A method and apparatus to provide DBMS restart recovery that allows transactions to access data that does not have restart recovery work pending. Access to data requiring restart recovery work to be performed is restricted, and a transaction is denied access to this data. In another embodiment, the invention allows certain transactions to access restricted data that has restart recovery work pending. These transactions are transactions that do not require data consistency. Regardless of the embodiment, the invention allows full recovery to be completed concurrent to the processing of new transactions requiring access to the database. An amount of restart recovery processing may be postponed until after the DBMS has begun accepting new work requests.

Inventors

  • 👤 Donald J. Haderle
  • 👤 Julie Ann Watts

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-11-04 11:42
CPC Classifications
G; G06; G06F; G06F9/00; G06F9/06; G06F9/46; G06F9/466; G06F11/00; G06F11/07; G06F11/14; G06F11/1474

Claims Analysis

Total Claims: 24
Claim 1
Independent Claim 318 words
A method for providing system availability during recovery of a database, comprising: performing abbreviated UNDO processing of objects in a database such that new transactions are not accepted, the abbreviated UNDO recovery processing comprising: receiving user-supplied thesholds including a number of log records to process during UNDO recovery processing; determining whether a log record entry represents a first undoable update made by a transaction to an object to which the log record applies, and if the log record represents the transaction's first update to the object; and designating a corresponding interest entry as complete, thereby indicating that the transaction has no further UNDO recovery processing required for that object; restricting an object from transaction access based upon selected criteria, wherein unrestricted objects remain available for transaction access; accepting new transactions; maintaining an interest list, the interest list used to track objects affected by a transaction; making entries to the interest list accessible during recovery processing; waiting until REDO recovery processing, if any, has completed before performing abbreviated UNDO recovery processing; restricting an object from transaction access including: restricting any object reference in the interest list from transaction access based upon the selected criteria, wherein unrestricted objects remain available for transaction access; and restricting transaction access to an interest list entry's object if there remains a transaction with update interest in the object and UNDO recovery processing has not been completed on that object; performing further UNDO recovery processing by: determining whether a log record entry represents a first undoable update made by a transaction to an object; if the log record represents the transaction's first update to the object, designating a corresponding interest list entry as complete, complete indicating that the transaction has no further UNDO processing required for that object; and removing an object's restriction if UNDO work against the object has been completed; and copying the interest list to a log at a system check-point time.
Claim 2
Independent Claim 318 words
A method for providing system availability during recovery of a database, comprising: performing abbreviated UNDO processing of objects in a database such that new transactions are not accepted, the abbreviated UNDO recovery processing comprising: receiving user-supplied thesholds including a number of log records to process during UNDO recovery processing; determining whether a log record entry represents a first undoable update made by a transaction to an object to which the log record applies, and if the log record represents the transaction's first update to the object; and designating a corresponding interest entry as complete, thereby indicating that the transaction has no further UNDO recovery processing required for that object; restricting an object from transaction access based upon selected criteria, wherein unrestricted objects remain available for transaction access; accepting new transactions; maintaining an interest list, the interest list used to track objects affected by a transaction; making entries to the interest list accessible during recovery processing; waiting until REDO recovery processing, if any, has completed before performing abbreviated UNDO recovery processing; restricting an object from transaction access including: restricting any object reference in the interest list from transaction access based upon the selected criteria, wherein unrestricted objects remain available for transaction access; and restricting transaction access to an interest list entry's object if there remains a transaction with update interest in the object and UNDO recovery processing has not been completed on that object; performing further UNDO recovery processing by: determining whether a log record entry represents a first undoable update made by a transaction to an object; if the log record represents the transaction's first update to the object, designating a corresponding interest list entry as complete, complete indicating that the transaction has no further UNDO processing required for that object; and removing an object's restriction if UNDO work against the object has been completed; and copying the interest list to a log at a system check-point time.
Claim 3
Dependent Claim 23 words
The method of claim 1 , further comprising automatically overriding the user-specified thresholds if additional UNDO recovery processing of critical objects is necessary.
Claim 4
Dependent Claim 21 words
The method recited in claim 2 , including delaying further UNDO recovery processing until a user command to continue is received.
Claim 5
Dependent Claim 42 words
The method in claim 3 , further comprising: retrieving the interest list from a log updated at a last system check-point time; and updating the interest list to a point in time when system failure occurred using forward log apply recovery processing.
Claim 6
Dependent Claim 13 words
The method recited in claim 4 , including logically linking interest list entries.
Claim 7
Dependent Claim 25 words
The method recited in claim 5 , wherein access by a transaction to a restricted object is allowed if the transaction can accept inconsistent data.
Claim 8
Dependent Claim 22 words
The method recited in claim 6 , further comprising logging interest list changes that occur during recovery processing to a recovery log.
Claim 9
Dependent Claim 300 words
A signal bearing medium tangibly embodying a program of machine-readable instructions executable by a digital processing apparatus to perform a method for providing system availability during recovery of a database, said method comprising: maintaining an interest list, the interest list used to track objects affected by a transaction; making entries to the interest list accessible during recovery processing; waiting until REDO recovery processing, if any, has completed; performing abbreviated UNDO recovery processing such that new transactions are not accepted the abbreviated UNDO recovery processing comprising: receiving user-supplied thresholds including a number of log records to process during UNDO recovery processing; determining whether a log record entry represents a first undoable update made by a transaction to an object to which the log record applies, and if the log record represents the transaction's first update to the object; and designating a corresponding interest entry as complete, thereby indicating that the transaction has no further UNDO recovery processing required for that object; restricting any object referenced in the interest list from transaction access based upon the selected criteria wherein the selected criteria comprises restricting transaction access to an interest list entry's object if there remains a transaction with update interest in the object and UNDO recovery processing has not been completed on that object; accepting new transactions; and performing further UNDO recovery processing, including; determining whether a log record entry represents a first undoable update made by a transaction to an object; if the log record represents the transaction's first update to the object, designating a corresponding interest list entry as complete, complete indicating that the transaction has no further UNDO processing required for that object; removing an object's restriction if UNDO work against the object has been completed; and copying the interest list to a log at a system check-point time.
Claim 10
Dependent Claim 300 words
A signal bearing medium tangibly embodying a program of machine-readable instructions executable by a digital processing apparatus to perform a method for providing system availability during recovery of a database, said method comprising: maintaining an interest list, the interest list used to track objects affected by a transaction; making entries to the interest list accessible during recovery processing; waiting until REDO recovery processing, if any, has completed; performing abbreviated UNDO recovery processing such that new transactions are not accepted the abbreviated UNDO recovery processing comprising: receiving user-supplied thresholds including a number of log records to process during UNDO recovery processing; determining whether a log record entry represents a first undoable update made by a transaction to an object to which the log record applies, and if the log record represents the transaction's first update to the object; and designating a corresponding interest entry as complete, thereby indicating that the transaction has no further UNDO recovery processing required for that object; restricting any object referenced in the interest list from transaction access based upon the selected criteria wherein the selected criteria comprises restricting transaction access to an interest list entry's object if there remains a transaction with update interest in the object and UNDO recovery processing has not been completed on that object; accepting new transactions; and performing further UNDO recovery processing, including; determining whether a log record entry represents a first undoable update made by a transaction to an object; if the log record represents the transaction's first update to the object, designating a corresponding interest list entry as complete, complete indicating that the transaction has no further UNDO processing required for that object; removing an object's restriction if UNDO work against the object has been completed; and copying the interest list to a log at a system check-point time.
Claim 11
Dependent Claim 26 words
The medium recited in claim 8 , the method further comprising automatically overriding the user-specified thresholds if additional UNDO recovery processing of critical objects is necessary.
Claim 12
Dependent Claim 24 words
The medium recited in claim 9 , the method further comprising delaying further UNDO recovery processing until a user command to continue is received.
Claim 13
Dependent Claim 45 words
The medium recited in claim 10 , the method further comprising: retrieving the interest list from the log updated at a last system check-point time; and updating the interest list to a point in time when system failure occurred using forward log apply recovery processing.
Claim 14
Dependent Claim 16 words
The medium recited in claim 11 , the method further including logically linking interest list entries.
Claim 15
Dependent Claim 28 words
The medium recited in claim 12 , the method further comprising access by a transaction to a restricted object is allowed if the transaction can accept inconsistent data.
Claim 16
Dependent Claim 24 words
The medium recited in claim 13 , the method further comprising logging interest list changes that occur during recovery processing to a recovery log.
Claim 17
Independent Claim 300 words
An apparatus used to provide system availability during recovery of a database, the apparatus comprising: non-volatile storage; memory; a processor, the processor executing commands to recover the database while providing system available by: maintaining an interest list, the interest list used to track objects affected by a transaction; making entries to the interest list accessible during recovery processing; waiting until REDO recovery processing, if any, has completed; performing abbreviated UNDO recovery processing such that new transactions are not accepted the abbreviated UNDO recovery processing comprising: receiving user-supplied thresholds including a number of log records to process during UNDO recovery processing; determining whether a log record entry represents a first undoable update made by a transaction to an object to which the log record applies, and if the log record represent the transaction's first update to the object; and designating a corresponding interest entry as complete, thereby indicating that the transaction has no further UNDO recovery processing required for that object; restricting any object referenced in the interest list from transaction access based upon the selected criteria wherein the selected criteria comprises restricting transaction access to an interest list entry's object if there remains a transaction with update interest in the object and UNDO recovery processing has not been completed on that object; accepting new transactions; and performing further UNDO recovery processing, including; determining whether a log record entry represents a first undoable update made by a transaction to an object; if the log record represents the transaction's first update to the object, designating a corresponding interest list entry as complete, complete indicating that the transaction has no further UNDO processing required for that object; removing an object's restriction if UNDO work against the object has been completed; and copying the interest list to a log at a system check-point time.
Claim 18
Independent Claim 300 words
An apparatus used to provide system availability during recovery of a database, the apparatus comprising: non-volatile storage; memory; a processor, the processor executing commands to recover the database while providing system available by: maintaining an interest list, the interest list used to track objects affected by a transaction; making entries to the interest list accessible during recovery processing; waiting until REDO recovery processing, if any, has completed; performing abbreviated UNDO recovery processing such that new transactions are not accepted the abbreviated UNDO recovery processing comprising: receiving user-supplied thresholds including a number of log records to process during UNDO recovery processing; determining whether a log record entry represents a first undoable update made by a transaction to an object to which the log record applies, and if the log record represent the transaction's first update to the object; and designating a corresponding interest entry as complete, thereby indicating that the transaction has no further UNDO recovery processing required for that object; restricting any object referenced in the interest list from transaction access based upon the selected criteria wherein the selected criteria comprises restricting transaction access to an interest list entry's object if there remains a transaction with update interest in the object and UNDO recovery processing has not been completed on that object; accepting new transactions; and performing further UNDO recovery processing, including; determining whether a log record entry represents a first undoable update made by a transaction to an object; if the log record represents the transaction's first update to the object, designating a corresponding interest list entry as complete, complete indicating that the transaction has no further UNDO processing required for that object; removing an object's restriction if UNDO work against the object has been completed; and copying the interest list to a log at a system check-point time.
Claim 19
Dependent Claim 27 words
The apparatus recited in claim 15 , the processor executing commands to automatically override the user-specified thresholds if additional UNDO recovery processing of critical objects is necessary.
Claim 20
Dependent Claim 25 words
The apparatus recited in claim 16 , the processor executing commands to delay further UNDO recovery processing until a user command to continue is received.
Claim 21
Dependent Claim 46 words
The apparatus recited in claim 17 , the processor executing commands for: retrieving the interest list from the log updated at a last system check-point time; and updating the interest list to a point in time when system failure occurred using forward log apply recovery processing.
Claim 22
Dependent Claim 17 words
The apparatus recited in claim 18 , the processor executing commands to logically link interest list entries.
Claim 23
Dependent Claim 25 words
The apparatus recited in claim 19 , the processor executing commands to restrict access to an object only if a transaction cannot accept inconsistent data.
Claim 24
Dependent Claim 25 words
The apparatus recited in claim 20 , the processor executing commands to log interest list changes that occur during recovery processing to a recovery log.

References Cited (Backward Citations)

US4674038A Cited
US5155678A Cited
US5333303A Cited
US5317739A Cited
US5421006A Cited
US5386559A Cited
US5530855A Cited
US5640561A Cited
US5581750A Cited
US5561798A Cited
US5455944A Cited
US5574902A Cited
US5596710A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 2004-02-06 2004-08-07 2005-02-06 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2008-02-06 2008-08-07 2009-02-06 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2012-02-06 2012-08-07 2013-02-06 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag