发明名称 Method and apparatus for audit trail logging and data base recovery
摘要 The disclosure relates to a transaction processing system where audit information for database updates and the status of transactions in process is sequentially written in audit records in an audit file, where the audit file may be used to restore the database to a consistent state following a system failure. The invention decreases the overhead processing required for auditing, and at the same time minimizes the impact the auditing has on the processing time required for restoring the database. A value which references the location in the audit file at which recovery of the database may begin is conditionally updated each time a page of the database which is cached in the main memory of the data processing system is written to non-volatile storage, based upon the position of the earliest written audit record which is associated with the cached page. In addition, when processing of a transaction is complete, the transaction identifier of the oldest incomplete transaction is saved in the audit record for the completed transaction. When restoring the database to a consistent state, the value which is maintained according to the earliest written audit record and the transaction identifier of the oldest incomplete transaction are used as reference points in the audit file to minimize the processing required to restore the database.
申请公布号 US5561795(A) 申请公布日期 1996.10.01
申请号 US19940242507 申请日期 1994.05.13
申请人 UNISYS CORPORATION 发明人 SARKAR, SHYAM S.
分类号 G06F1/00;G06F11/14;(IPC1-7):G06F7/10;G06F7/20;G06F17/30;G06F12/00 主分类号 G06F1/00
代理机构 代理人
主权项
地址