Explain two-phase locking protocol with an example. how does it guarantee serializability?
Answers
Answered by
1
In databases and transaction processing, two-phase locking(2PL) is a concurrency control method that guarantees serializability. ... By the 2PL protocol, locks are applied and removed in two phases: Expanding phase: locks are acquired and no locks are released.
Similar questions