edited by
182 views
2 votes
2 votes

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

  1. With strict $\text{2PL,}$ transactions can be serialized in the order in which they commit
  2. Strict $\text{2PL,}$ holds only exclusive locks until the end of the transaction
  3. Rigorous $\text{2PL,}$ holds both shared and exclusive locks until the end of the transaction
  4. With rigorous $\text{2PL,}$ transactions can be serialized in the order in which they commit
edited by

1 Answer

3 votes
3 votes
With rigorous $\text{2PL,}$ locks are released only at the end of the transaction. It can be shown that with rigorous $\text{2PL,}$ transactions can be serialized in the order in which they commit.

Strict $\text{2PL,}$ holds only exclusive locks until the end of the transaction.

So, only options $B; C;D$ are TRUE.
edited by
Answer:

Related questions

1 votes
1 votes
1 answer
2
gatecse asked Oct 15, 2020
66 views
Match the following:$$\begin{array}{|ll|ll|} \hline\text{a.}& \text{Transaction Failure} & \text{i.}&\text{Transaction Manager}\\\hline\text{b.}& \text{Concurrency Contro...