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

Which of the following is/are true in case of tree locking (the tree protocol)?
A. It ensures shorter waiting times.
B. It ensures freedom from deadlock.
C. A transaction can lock data items earlier.
D. It does not ensure a greater amount of concurrency.
Choose the correct answer from the options given below:

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

Show answer & explanation

Correct answer: A. A and B Only

Explanation

The tree protocol is deadlock-free and allows early unlocking, which gives shorter waits and more concurrency. Its drawback is that transactions may lock items they don't need.

More Database Management Systems questions