×

System and method for purging database update image files after completion of associated transactions

  • US 6,553,392 B1
  • Filed: 10/14/1999
  • Issued: 04/22/2003
  • Est. Priority Date: 02/04/1999
  • Status: Expired due to Term
First Claim
Patent Images

1. A method of operating a backup system so as to replicate database updates performed on a primary system, the method comprising:

  • receiving a stream of audit records from the primary system, the audit records including audit update records indicating database updates generated by transactions executing on the primary system;

    storing the audit update records in one or more image trails, and storing each image trail in a sequence of image trail files;

    storing in each image trail file a transaction table representing a range of transaction identifiers for transactions potentially pending in the primary system at the time that the first audit record in the image trail file was generated by the primary system;

    for each image trail, accessing and processing the audit records in the sequence of image trail files for that image trail; and

    periodically executing a file purge procedure for purging image trail files no longer needed, including;

    identifying an oldest transaction table from among a set of transaction tables each of which comprises the transaction table in the last image trail file accessed for each of the image trails;

    accessing an image trail file for one of the image trails;

    comparing a first set of newest transaction identifiers in the transaction table in the accessed image trail file with a second set of oldest transaction identifiers in the identified oldest transaction table, and conditionally purging the accessed image trail file when all of the transaction identifiers in the first set are older than corresponding transaction identifiers in the second set.

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