This lesson is being remade with real tools (a real database, the real AI model). The new video and its detailed notes appear here as soon as they are ready.
Video coming soonThis lesson’s video is being made
Start with the notes below; the video appears here as soon as it is on YouTube.
CS Fundamentals for Placements · Lesson 54 of 90
Concurrency control 1: locking and two-phase locking
lock-based protocolsshared (S) and exclusive (X) lockslock compatibility matrixlock upgrade/downgradetwo-phase locking (growing and shrinking phases)basicstrictrigorous and conservative 2PLdeadlocks in databaseswait-diewound-waitlock granularityintention locks (IS, IX, SIX)multiple granularity locking