Method and apparatus for data rollback
Abstract
A database rollback processor allows rollback, or rewind, of the data and metadata to a point at which a failover or other metadata change occurred, therefore “rewinding” the metadata to a previous consistent point. The rollback processor identifies transaction entries in a redo log resulting in changes to the metadata. The changes are identified backward to a target recovery time. Transactions affecting the metadata are stored in a stack. The transactions are then backed out of the metadata according to the stack to restore the metadata to the state at the target recovery time. Data changes from the redo log may then be applied to the corresponding metadata as it existed at the target recovery time. Since the target recovery time is not bound by the timing of the snapshots, but rather may be at an arbitrary point chosen as the target recovery time, a failover, replication or recovery operation need not rely on the snapshot time.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 13.
Claims (2 — 2 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising: detecting a failover event for a primary database, where the primary database includes an associated data dictionary; performing a failover by transferring database responsibilities from the primary database to a secondary database and includes causing a delay for capturing a snapshot of the data dictionary until a subsequent time to the failover; storing, in a redo log, database operations performed on the secondary database from a time of the failover; subsequent to the failover, capturing the snapshot of the data dictionary; and generating a recreated data dictionary re
- Claim 2Independent Claim
The me
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗