Which of the following concurrency control protocol ensures both conflict serializability and free from deadlock?

Which of the following concurrency control protocol ensures both conflict serializability and free from deadlock? Correct Answer Time stamp ordering

According to the 2PL protocol, a transaction handles its locks in two distinct, consecutive phases during the transaction's execution:

Expanding phase: locks are acquired and no locks are released (the number of locks can only increase).

Shrinking phase: locks are released and no locks are acquired.

2PL ensures conflict serializability but does not ensure deadlock freedom.

But time stamp ordering ensures both deadlock freedom and conflict serializabilty.

Related Questions

Which of the following protocols ensures conflict serializability and safety from deadlocks?
Whenever you have a hardware resource conflict, it will more likely be an IRQ conflict rather than an i/o conflict because: