×

Log archive filtering method for transaction-consistent forward recovery from catastrophic media failures

  • US 5,278,982 A
  • Filed: 12/23/1991
  • Issued: 01/11/1994
  • Est. Priority Date: 12/23/1991
  • Status: Expired due to Fees
First Claim
Patent Images

1. In a transaction-based data processing system having a stable storage resource for storing transaction log records and a first recovery procedure means for database recovery from system failure, said first recovery procedure means including means for executing in a single pass a sequence of recovery log records stored in said stable storage resource as selectable record types including REDO and UNDO types, said system including an archival storage resource for receiving and storing dumps of the contents of said stable storage resource, a method for transaction-consistent resource recovery from failure of said stable storage resource, said method comprising the steps of:

  • during forward processing of said transactions, performing in sequence the steps ofwriting transaction log records to a recovery log,writing to said recovery log a START-PSEUDO-CRASH type record having a pseudo-crash timestamp value corresponding to a predetermined pseudo-crash time during said forward processing,writing to said recovery log a series of PSEUDO-RECOVERY type records in accordance with said first recovery procedure means for recovering from a system failure occurring at said predetermined pseudo-crash time,writing to said recovery log an END-PSEUDO-RECOVERY type record having said pseudo-crash timestamp value, andwriting to said stable storage resource a recovery log copy of all existing recovery log records not already stored in said stable storage resource at completion of said END-PSEUDO-RECOVERY record writing step;

    during an archival dump of said recovery log copy from said stable storage resource to said archival storage resource,filtering said recovery log copy records by discarding from one to all UNDO type records while writing all remaining record types to said archival storage resource as filtered recovery log archive records, andwriting to said archival storage resource a MOST-RECENT-PSEUDO-CRASH record having said predetermined pseudo-crash timestamp value in response towriting an END-PSEUDO-RECOVERY record to said archival storage;

    executing said filtered recovery log archive records in accordance with said first recovery procedure means during a single forward pass while ignoring all said PSEUDO-RECOVERY type log archive records associated with any said pseudo-crash timestamp different from the pseudo-crash timestamp contained in said MOST-RECENT-PSEUDO-CRASH record; and

    executing said PSEUDO-RECOVERY type log archive records associated with said MOST-RECENT-PSEUDO-CRASH timestamp in accordance with said first recovery procedure means while ignoring all said REDO and UNDO type log archive records made subsequently to the START-PSEUDO-CRASH type log archive record having a timestamp equal to said MOST-RECENT-PSEUDO-CRASH timestamp value.

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