Chapter 18: Problem 2
What are some variations of the two-phase locking protocol? Why is strict or rigorous two-phase locking often preferred?
Short Answer
Expert verified
There are four variations of the two-phase locking protocol: Basic, Conservative, Rigorous, and Strict two-phase locking. Each serves different needs, with unique features in how they handle transactions. Strict and rigorous two-phase locking are usually preferred as they prevent cascading rollbacks, a situation where a single transaction failure leads to multiple transaction rollbacks, as they ensure locks are held until the transaction is entirely completed.