Framework to optimize delete all row operations on database objects to improve throughput, query ability and flashback
Abstract
A bulk delete operation with reduced latency allows for retrieval of deleted data. Each database object holds a Delete SCN indicating when a bulk delete operation was last performed. Each row in the database object holds a Row Modification SCN indicating when the row was last updated. A bulk delete is performed by writing the old value of the Delete SCN to the undo tablespace and updating the Delete SCN. No undo information is stored for the rows. A write is performed by finding a deleted row, storing undo information for the deleted row and writing over the deleted row. To read from the database object, a rollback operation is performed, if necessary. Those rows are then retrieved for which the Row Modification SCN is higher than the Delete SCN and is less than or equal to the timestamp for the requested data.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 36 · Forward citations: 6.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method of performing a write operation on a memory occupied by a logically deleted row of a database object, comprising: identifying, by using a processor, the memory occupied by the logically deleted row of the database object for writing, wherein the logically deleted row was logically deleted from the database object in a previous logical collective delete operation without placing undo information for the logically deleted row data into an undo log, such that the logically deleted row is still present in the database object after its logical deletion and the logicall
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗