Home » Database » Database miscellaneous » Question

Database miscellaneous

  1. Which of the following concurrency control protocols ensure both conflict serializability and freedom from deadlock ?
    1. 2-phase locking
    2. Time-stamp ordering
    1. 1 only
    2. 2 only
    3. Both 1 and 2
    4. Neither 1 nor 2
Correct Option: B

Time stamp ordering ensures both conflict serializability and freedom from deadlock as timestamp-based concurrency control is a non-lock concurrency control method. The method is employed in relational databases to safely handle transactions. It uses the timestamps for the same.



Your comments will be displayed only after manual approval.