Time-based checkpoint target for database media recovery
Abstract
A method, apparatus, and system for a time-based checkpoint target is provided for standby databases. Change records received from a primary database are applied for a standby database, creating dirty buffer queues. As the change records are applied, a mapping is maintained, which maps timestamps to logical times of change records that were most recently applied at the timestamp for the standby database. On a periodic dirty buffer queue processing interval, the mapping is used to determine a target logical time that is mapped to a target timestamp that is prior to a present timestamp by at least a checkpoint delay. The dirty buffer queues are then processed up to the target logical time, creating an incremental checkpoint. On a periodic header update interval, file headers reflecting a consistent logical time for the checkpoint are also updated. The intervals and the checkpoint delay are adjustable by user or application.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 35 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising: applying, into a plurality of buffers of a standby database, a plurality of change records received from a primary database, wherein each buffer of the plurality of buffers has a respective time of a change record that was latest, of the change records in the buffer, to be applied to a primary database; calculating, by subtracting a checkpoint delay from a present time, a target time that is before the present time; creating a checkpoint for one or more database files of the standby database by flushing a subset of the plurality of buffers that have a respective time that
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
References Cited — Backward Prior Art (35)
Non-Patent Literature (5)
- Dongho Lee et al., “Checkpointing Schemes for Fast Restart in Main Memory Database Systems”, IEEE 1997, pp. 663-668.
- Haitham Akkary et al., “An Analysis of a Resource Efficient Checkpoint Architecture”, ACM Transactions on Architecture and Code Optimization, vol. 1, No. 4, Dec. 2004, pp. 418-444.
- Lee, U.S. Appl. No. 14/270,117, filed May 5, 2014, Decision on Appeal dated Jul. 25, 2018.
- Lee, U.S. Appl. No. 14/270,117, filed May 5, 2014, Interview Summary dated Oct. 3, 2017.
- Lee, U.S. Appl. No. 14/270,117, filed May 5, 2014, Notice of Allowance dated Aug. 6, 2018.