Dropping an index without blocking locks
Abstract
Techniques for processing “destructive” database statements are provided. Destructive database statements, when processed, cause metadata of a database object to be changed. Examples of such database statements include ones that delete an index, that set a column as unused, and that drop a constraint on a column. When such a statement is received, a change is made to metadata of a database object. Such a metadata change may involve setting an index as unusable, disabling a constraint, or invalidating a cursor. After the metadata change, a first time is determined. Then, it is determined when one or more database transactions that were pending at the first time have committed. After those database transaction(s) have committed, one or more operations are performed, such as dropping an index or dropping a constraint.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 32 · Forward citations: 0.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method comprising: while storing metadata that indicates that an index is usable, receiving an instruction to drop the index that is based on a table; in response to receiving the instruction and without using a lock, to process the instruction, that would block transactions involving the table: updating the metadata to indicate that the index is unusable; after updating the metadata, determining a particular timestamp; waiting for one or more transactions that are pending at a time associated with the particular timestamp to commit; in response to determining that the one or more transactio
- Claim 2Depends on #1
The method of claim 1 , further comprising: in response to receiving the instruction and prior to determining the part
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (32)
Non-Patent Literature (5)
- Kumar, U.S. Appl. No. 14/231,416, filed Mar. 31, 2014, Advisory Action, dated Mar. 15, 2017.
- Kumar, U.S. Appl. No. 14/231,416, filed Mar. 31, 2014, Final Office Action, dated Feb. 4, 2019.
- Kumar, U.S. Appl. No. 14/231,416, filed Mar. 31, 2014, Final Office Action, dated May 18, 2018.
- Kumar, U.S. Appl. No. 14/231,416, filed Mar. 31, 2014, Notice of Allowance, dated Apr. 16, 2020.
- Kumar, U.S. Appl. No. 14/231,416, filed Mar. 31, 2014, Office Action, dated Jul. 30, 2018.