All mock tests are FREE till 31 December — register to save your progress
Unit 4 · Database Management Systems Paper 2 CS · June 2023

Given below are two statements: Which of the following concurrency control protocol ensures both conflict serializability and freedom from deadlock?

Statement I: Two phase locking

Statement II: Timestamp ordering In the light of the above statements, choose the most appropriate answer from the options given below:

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: D. Statement I is incorrect but Statement II is correct

Explanation

Two-phase locking guarantees conflict serializability but can deadlock. Basic timestamp ordering guarantees conflict serializability and never waits, so it is deadlock-free.

More Database Management Systems questions