edited by
634 views
3 votes
3 votes

Which of the following statements is/are correct? (Mark all the appropriate choices)

  1. With strict $2PL,$ transactions can be serialized in the order in which they commit.
  2. With rigorous $2PL,$ transactions can not be always serialized in the order in which they commit.
  3. With strict $2PL,$ only exclusive locks are held until the end of the transaction.
  4. With rigorous $2PL,$ both shared and exclusive locks are held until the end of the transaction.
edited by

1 Answer

Best answer
5 votes
5 votes
With rigorous $2PL,$ locks are released only at the end of the transaction. It can be shown that with rigorous $2PL,$ transactions can be serialized in the order in which they commit. This is not the case for Strict $2PL.$ So, options A and B are False.

Strict $2PL,$ holds only exclusive locks until the end of the transaction.

So, only options C;D are TRUE.
selected by
Answer:

Related questions

2 votes
2 votes
1 answer
1
gatecse asked Feb 8, 2021
488 views
From the following instance of a relation schema $R(A,B,C)$, we can conclude that: (Mark all the appropriate choices)$$\begin{array}{|l|l|l|}\hline \textbf{A} & \textbf{...