DBDiaa Badrindiaabadr.hashnode.dev·May 11, 2023 · 8 min readTwo Phase LockingIn our previous blog post, we discussed the problems related to concurrency control in database management systems. Now, we will explore a solution to these problems using the two-phase locking protocol. This technique helps prevent conflicting trans...00
DBDiaa Badrindiaabadr.hashnode.dev·May 2, 2023 · 5 min readConcurrency Problems in Database SystemsBefore beginning, it's important to introduce some abbreviations that will be used: R(A): This refers to reading the value of A from the database. W(A): This refers to writing or updating the value of A with a new value. What is Concurrency? It's...01M