Index and page latches
Separate short-lived page synchronization from transaction locks while a concurrent index search or split changes physical pages. Access methods and index strategy · Databases.
Two sessions can touch one index page without holding the same kind of protection. Follow the short page hold, then compare it with the transaction lock that lasts longer.
What you will learn
- Distinguish physical page latches from logical transaction locks
- Trace a search and a B-tree split through a bounded page protocol
- Reason about release order without turning latch waits into transaction deadlocks
Lesson outline
- Two protection boundaries
- Search and split
- Release without commit
18 minutes · 2 scenes · 0 predict checks · 10 quiz questions
The full lesson is available with Premium.