发明名称 Method and apparatus for incremental undo
摘要 A method and apparatus for incremental undo is provided. A process, executing in a database system, establishes a rollback entry in an undo log file as a current rollback entry. The rollback entry, which was selected from a set of rollback entries contained in an undo record, contains data that indicates a change made by a transaction to a data block in the database system. The process first determines whether the rollback entry has been applied by testing a status flag. In one embodiment, the status flag is a bit in a bit vector in the undo block. If the rollback entry has been applied to the database, then the rollback entry is not re-applied; rather, a next rollback entry is established from the set of rollback entries and the process repeats. If the rollback entry has not been applied, then undo information from the rollback entry is retrieved from the undo block and change is generated. The status flag is set to indicate that the rollback entry has been applied and a next rollback entry corresponding to the data block is retrieved. The process repeats until there are no more rollback entries to be performed, then the multiple changes are applied to disk in a single atomic operation.
申请公布号 US6185577(B1) 申请公布日期 2001.02.06
申请号 US19980103515 申请日期 1998.06.23
申请人 ORACLE CORPORATION 发明人 NAINANI BHAGAT;NGAI GARY C.;HUANG WEI;KLEIN JONATHAN D.;BAMFORD ROGER J.
分类号 G06F11/14;G06F17/30;(IPC1-7):G06F12/00 主分类号 G06F11/14
代理机构 代理人
主权项
地址