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.
মোঃ আরিফুল ইসলাম
Feb 20, 2025