Two Phase Locking, Strict 2PL and Database Concurrency Conflicts

preview_player
Показать описание
Databases need concurrency, and with concurrency comes problems, and today we will see some solutions to these problems. In a database, there are multiple transactions trying to access and modify the same piece of data using multiple threads, and it's the responsibility of the database that these transactions modify the data properly. Two-phase locking is one of the ways to solve this problem, and we will learn more about it.

Timestamps :
00:00 Introduction
00:31 Refresher to ACID
04:16 Unrepeatable Reads
05:49 Dirty Reads
06:55 Write-Write Conflict
08:30 Conflict Serializable Schedule
11:12 Locks
12:11 Bad locking strategy
14:10 Two-Phase locking
19:23 Problem with 2PL - Cascading Aborts
20:52 Strict Two-Phase Locking
23:53 Deadlocks

CMU DB Channel links :

#database #dbms
Рекомендации по теме
Комментарии
Автор

Another example of how some talents go under-rated!
But huge respect from my side brother...sorry, Guru!

monishchhadwa
Автор

Can you make a video on DCLP? it would be of great help. The literature is quite confusing for me. Thanks

abhyudaysingh