Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Grab it
Learn about MySQL InnoDB B+Tree index locking mechanisms in this technical deep-dive video that compares implementations between versions 5.6 and 8.0. Explore how database index structures handle concurrent reads and writes through different locking strategies, from global exclusive locks in 5.6 to more granular page-level locking in 8.0. Understand the fundamentals of B+Trees, shared vs exclusive locks, and how InnoDB manages index and page locks. Examine the performance implications of different design philosophies, including MySQL 5.6's simpler but more restrictive approach versus 8.0's sophisticated page-level locking with snapshots that enables greater concurrency. See real-world impact through examples like Uber's 94% reduction in database lock time after upgrading to MySQL 8.0. Includes detailed explanations of index read/write operations, tree rebalancing, and structure protection mechanisms in both versions.
MySQL Index Locking and B+Tree Structure - From Version 5.6 to 8.0