Everything about Index locking
In databases an index is a data structure, part of the database, used by a database system to efficiently navigate access to user data. Index data are system data distinct from user data, and consist primarily of pointers. Changes in a database, may require indexes to be updated to maintain accurate user data accesses. Index locking is a technique used to maintain index integrity. A portion of an index is locked during a database transaction when this portion is being accessed by the transaction as a result of attempt to access related user data. Additionally, special database system transactions may be invoked to maintain and modify an index, as part of a system's self-maintenance activities. When a portion of an index is locked by a transaction, other transactions may be blocked from accessing this index portion. Index Locking Protocol guarantees that phantom read phenomenon won't occur. Index locking protocol states:Every relation must have at least one index. A transaction can access tuples only after finding them through one or more indices on the relation A transaction Ti that performs a lookup must lock all the index leaf nodes that it accesses, in S-mode, even if the leaf node does not contain any tuple satisfying the index lookup A transaction Ti that inserts, updates or deletes a tuple ti in a relation r must update all indices to r and it must obtain exclusive locks on all index leaf nodes affected by the insert/update/delete The rules of the two-phase locking protocol must be observed. Wikipedia →
🧭 Start here: a 6-step reading path
- Read the overview: Index lockingA 5-minute orientation
- Skim a recent paper: Frequency-division routing via spin–refractive-index lockingInfluential work since 2022
- Pick up a classic book: BibleThe most-reprinted book on the subject
- Read the landmark paper: Laser mode locking with addition of nonlinear indexCited 84 times
- Go sideways: Multiversion concurrency controlA closely related topic
- Go sideways: ACIDA closely related topic
📖 Definitions
No dictionary entry for this exact phrase.
🗂️ The subject at a glance
No outline available.
🏆 Landmark papers (most cited)
Laser mode locking with addition of nonlinear index
Recurrent Locking of an Index Finger
Frequency locking in an index-guided semiconductor laser array
Recurrent Locking of the Index Finger Due to Internal Derangement of the Metacarpophalangeal Joint
Analysis of mode locking and ultrashort laser pulses with a nonlinear refractive index
Injection locking of an index-guided semiconductor laser array
Evaluation of the modulation index of the standing wave Raman-Nath mode-locking device
Index Finger Metacarpophalangeal Joint Arthrodesis With a Dorsal Locking Plate
🆕 Influential since 2022
📚 Books worth reading
BibleBible · 1200
The complete poetical worksRobert Burns · 1786
Works [37 plays, 6 poems, sonnets]William Shakespeare · 1730
Free cultureLawrence Lessig · 2004
Zur FarbenlehreJohann Wolfgang von Goethe · 1810
The Lock and Key Library -- North EuropeJulian Hawthorne, Fiódor Dostoievski · 1909- 📕The poetical works of Robert BurnsRobert Burns · 1839
- 📕Eccentric personagesWilliam Russell · 1864
Ranked by number of editions on Open Library, a rough measure of how lasting a book is.
🔗 Related topics
- Multiversion concurrency control Multiversion concurrency control (MCC or MVCC) is a non-locking concurrency control method commonly used by database management systems to provide concurrent…
- ACID In computer science, ACID (atomicity, consistency, isolation, durability) is a set of properties of database transactions intended to guarantee data validity…
- Isolation (database systems) In database systems, isolation is one of the ACID (Atomicity, Consistency, Isolation, Durability) transaction properties. It determines how transaction…
- Extensible Storage Engine Extensible Storage Engine (ESE), also known as JET Blue, is an ISAM (indexed sequential access method) data storage technology from Microsoft. ESE is the…
- Multiple granularity locking In computer science, multiple granularity locking (MGL) is a locking method used in database management systems (DBMS) and relational databases. In multiple…
- Commitment ordering Commitment ordering (CO) is a class of interoperable serializability techniques in concurrency control of databases, transaction processing, and related…
- Two-phase commit protocol In transaction processing, databases, and computer networking, the two-phase commit protocol (2PC, tupac) is a type of atomic commitment protocol (ACP)…
- Lock (computer science) In computer science, a lock or mutex (from mutual exclusion) is a synchronization primitive that prevents state from being modified or accessed by multiple…