×

Method and apparatus for logging journal data using a log write ahead data set

  • US 4,507,751 A
  • Filed: 06/21/1982
  • Issued: 03/26/1985
  • Est. Priority Date: 06/21/1982
  • Status: Expired due to Fees
First Claim
Patent Images

1. In a system in which data base references are first recorded in a buffer and upon said buffer being filled, transferring its contents to a first log of references and bounding synchronization points of the first (begin transaction) or second types (commit or rollback transaction) stored together with the data base in a nonvolatile memory, a method for data base recovery in the event of system failure, comprising the steps of:

  • (a) formatting a second log in the memory;

    (b) writing data base references into the buffer;

    (c) monitoring buffer capacity and the occurrence of synchronization points;

    (d) transferring any accumulated buffer contents to the second log when a synchronization point occurs prior to the buffer being filled; and

    (e) in the event the data base references in the buffer are lost during system failure, redoing or undoing any changes to the data base utilizing the second log, otherwise redoing or undoing any changes utilizing the first log.

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