Method for concurrency control for a secondary index
Abstract
The present invention relates to a method and a computer program for concurrency control for a secondary index ( 13 ) wherein many deadlocks are avoided by means of a selective locking strategy and by means of allowing index records ( 14 ) of the secondary index to contain some keys to many but never too few. When keys are read from the secondary index ( 13 ) it is thus possible to read some keys that may be irrelevant. However, such irrelevant keys are sorted out by means of checking against the corresponding records ( 12 ) in the table ( 11 ) to which the secondary index ( 13 ) is associated. The selective locking strategy allows for increased concurrency.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 11.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer implemented method for concurrency control for a secondary index associated with a database table, which secondary index includes index records, wherein each index record contains a list of entries, which are unique keys each identifying a table record of the database table, which method involves performing index operations on the index records according to a locking strategy for locking the index records, wherein the method comprises: allowing the index operation of type Delete Index Entry to operate on an index record concurrently with any other index operation of type Add Index E
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (11 of 11 total)
References Cited — Backward Prior Art (8)
Non-Patent Literature (5)
- David Lomet, Key Range Locking Strategies for Improved Concurrency, Cambridge Research Laboratory Technical Report Series, Feb. 10, 1993, , CRL 93/2, Digital Equipment Corporation Cambridge Research Lab, Cambridge Massachusetts.
- Elena Barcucci, Renzo Pinzani, and Renzo Sprugnoli, Optimal Selection of Secondary Indexes, IEEE Transactions on Software Engineering, Jan. 1990, pp. 32-38, vol. 16, No. 1.
- European Patent Office, Communication pursuant to Article 96(2) EPC, Aug. 3, 2005.
- Philip A. Bernstein, Vassos Hadzilacos, Nathan Goodman, , Concurrency Control and Recovery in Database Systems, 1987, ,Addison-Wesley Publishing Company, Reading Massachusetts.
- Shang-Sheng Tung, Hongyuan Zha, and Thomas Keefe, Indexing Management for Distributed Linear Hash Files, 7<SUP>th </SUP>International Workshop on Database and Expert Systems Applications, Sep. 9-13, 1996, pp. 106-114, IEEE, Zurich, Switzerland.