×

Remote duplicate database facility featuring safe master audit trail (safeMAT) checkpointing

  • US 5,794,252 A
  • Filed: 12/16/1996
  • Issued: 08/11/1998
  • Est. Priority Date: 01/24/1995
  • Status: Expired due to Term
First Claim
Patent Images

1. A distributed computer database system, comprising:

  • a local computer system having a local database stored on local memory media, application programs that modify the local database, and a transaction manager that stores audit records in a local audit trail reflecting those application program modifications to the local database;

    each audit record having an associated audit trail position in said local audit trail;

    a remote computer system, remotely located from the local computer system, said remote computer system having a backup database stored on memory media associated with the remote computer system;

    a communication channel for sending messages between said local computer system and said remote computer system; and

    a remote data duplication facility, partially located in said local computer system and partially located in said remote computer system, for maintaining virtual synchronization of said backup database with said local database, including;

    an extractor process executed by said local computer system that extracts audit records from said local audit trail and transmits said extracted audit records to said remote computer system, a first subset of said audit records denoting updates to said local database, each audit record of said first subset having a transaction identifier indicating an associated transaction, each audit record of a second subset of said audit records indicating a status of one of said transactions;

    a receiver process executed by said remote computer system that receives said audit records transmitted by said extractor process and distributes said audit records to one or more image trail buffers in said remote computer system, each image trail buffer associated with an image trail file;

    one or more updater processes executed by said remote computer system, wherein each updater process reads said audit records in an assigned one of said image trail files and initiates redo operations of updates specified in said audit records against an assigned portion of said backup database;

    said image trail buffers having at least one master image trail buffer and one or more auxiliary image trail buffers, each of said auxiliary image trail buffers including audit records of said first subset, said master image trail buffer including audit records of said second subset;

    each of said updater processes including instructions to request a specified status audit record prior to initiating redo operations associated with a corresponding audit record; and

    said receiver process including instructions to flush each of said auxiliary image trail buffers to each of said respective image trail files before said master image trail buffer is flushed to its associated image trail file and to store in a memory a safeMATposition denoting an audit trail position of a last status audit record stored in said image trail file associated with said master image trail buffer.

View all claims
  • 4 Assignments
Timeline View
Assignment View
    ×
    ×