1,243 views
3 votes
3 votes

Consider the following schedule:

S:R2(A) W1(B) W1(C) R3(B) R2(B) R1(A) C1 R2(C) C2 W3(A)C3

Please explain how it is allowed in 2 PL

1 Answer

0 votes
0 votes
T1 T2 T3
  S(A)  
  R(A)  
X(B)    
X(C)    
W(B)    
W(C)    
S(A)    
U(B)    
U(C)    
    S(B)
    R(B)
  S(B)  
  R(B)  
R(A)    
U(A)    
  S(C)  
  R(C)  
  U(A)  
  U(B)  
  U(C)  
    X(A)
    W(A)
    U(A)
    U(B)
edited by

Related questions

1 votes
1 votes
1 answer
2
Kushagra Gusain asked Sep 7, 2017
1,008 views
Why is cascading rollback possible in 2 phase locking protocol, we know it guarantee serializability and serializable schedule are strict, which implies it is cascadeless...
2 votes
2 votes
2 answers
3
srestha asked Sep 16, 2017
2,866 views
State True or False and Tell reason1) 2PL is always conflict serializable2)Timestamp protocol is conflict and view serializable
1 votes
1 votes
1 answer
4
palashbehra5 asked Jan 17, 2022
1,048 views
Given Problem : S1 can be shown allowed under 2PL.However, the solution that they have provided for S2 : Seems wrong, as So, is S2 allowed under 2PL, or the answer give...