Delaying database writes for database consistency
Abstract
A continuous set of committed transactions can be lost without destroying the integrity of the database, by deferring the writing of the database pages stored in cache to the database on stable storage. A waypoint tracks a point in the transaction log following which transactions have not been applied to the database on stable storage and thus records after the waypoint are not needed for recovery to a consistent database. When there is a failover of an active database on Node A to a passive database on Node B, log records are compared starting with the most current and moving backwards and the point at which divergence in the log occurs is determined. When the lost portion of the log occurs after the point indicated by after the waypoint, the database is recoverable by log-based incremental reseed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 32 · Forward citations: 9.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of deferring page flushes comprising: establishing a waypoint for a database, wherein the waypoint is associated with a point in a transaction log after which no portion of transactions on the database have been applied to the database on stable storage, wherein the waypoint is set according to a policy, wherein the policy is not based on transactions being committed to the transaction log; and deferring issuance of a disk write operation for an updated database page in memory until a log record is written to the transaction log corresponding to a most recent page update for the updat
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (9 of 9 total)
References Cited — Backward Prior Art (32)
Non-Patent Literature (2)
- Koo, R. et al., "Checkpointing and Rollback-Recovery for Distributed Systems", IEEE, 1986, http://delivery.acm.org, 1150-1158.
- Wójcik, Z.M. et al., "Fault Tolerant Distributed Computing Using Atomic Send-Receive Checkpoints", IEEE, 1990, http://ieeexplore.org, 215-222.