Pre-image logging for database recovery
Abstract
In order to provide recovery for a database stored on storage not meeting the WAL protocol requirements, for example, storage including a temporary cache and a second storage (e.g. an IDE disk with a temporary cache and a hard disk), a log is created including, for each changed page, a pre-image of the page before changes were effected. The log also includes one or more change log records logging changes made to the page. Periodic checkpoints occur in which the cached pages are flushed to the disk. Recovery proceeds with a redo pass through the active log and then with an undo pass, undoing any transactions that have not been committed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 16.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for controlling a disk storage of a computing device by way of a relational database, said method comprising: recoverably updating the relational database with a change to a portion of said relational database to control the disk storage by: acquiring a log semaphore in a share mode, the log semaphore being a newly created synchronization point in an active portion of a recovery log comprising log records and stored on the disk storage; determining whether a copy of said portion of said database is not stored on the active portion of the recovery log on the disk storage; if a copy of
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 16 total)
References Cited — Backward Prior Art (7)
Non-Patent Literature (1)
- Mohan, C. et al., ARIES: A Transaction Recovery Method Supporting Fine-Granularity Locking and Partial Rollbakcs Using Write-Ahead Logging, ACM Transactions on Database Systems, 1992, 17(1), 94-162.