Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Two-Phase Locking - CMU Intro to Database Systems #18

CMU Database Group via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore two-phase locking protocols in database systems through this comprehensive lecture from Carnegie Mellon University's Introduction to Database Systems course. Learn the fundamental concepts of two-phase locking, including how it ensures serializability in concurrent database transactions, the growing and shrinking phases of lock acquisition and release, and the trade-offs between different locking strategies. Understand the implementation details of strict two-phase locking, rigorous two-phase locking, and how these protocols prevent common concurrency issues like dirty reads, non-repeatable reads, and phantom reads. Examine practical considerations including deadlock detection and prevention mechanisms, lock granularity decisions, and performance implications of different locking approaches. The lecture includes a special database flash talk by Benjamin Wagner from Firebolt, providing industry insights into how modern database systems implement and optimize locking mechanisms in production environments. Access accompanying slides and detailed notes to reinforce your understanding of these critical database concurrency control concepts.

Syllabus

Jump to 01:10:16

Taught by

CMU Database Group

Reviews

Start your review of Two-Phase Locking - CMU Intro to Database Systems #18

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.