Method and system for deferred maintenance of database indexes
Abstract
Rectifying discrepancies between a table, from which a segment of data has been removed, and an index for the table may be deferred. Each entry in the index is sequentially analyzed to remove entries therefrom referring to any removed segment referenced in the starting location list. During this process, if a segment newly removed from the table is detected, then analysis of the index entries continues and an indicator is set that another segment has been removed. Analysis of the entries continues in a looping fashion until each entry has been assessed to determine if it makes a reference to any of the removed segments. If a query is received before rectification is complete then the query is amended by establishing search boundaries based so that the query does not produce any entries in the index referring to removed segments.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 7.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for rectifying discrepancies between a table from which a segment of data has been removed and an index for the table, the method comprising: a) establishing, using a processor, an entry in a starting location list identifying the removed segment and associating the removed segment with a first starting location in the index, the first starting location corresponding to a first entry in the index, and the starting location list is stored in a memory; b) sequentially analyzing, based on the starting location list, each entry in the index to remove entries from the index referring to an
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (16)
Non-Patent Literature (1)
- Dan Hotka, A Closer Look at Oracle8i Data Block Internals, Published Feb. 9, 2001, pp. 1-8. www.informit.com.