1,199 views
1 votes
1 votes

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 given is incorrect?

1 Answer

Best answer
5 votes
5 votes

This is how I solved and get S2 allowed under 2PL

selected by

Related questions

624
views
0 answers
1 votes
aditi19 asked Dec 8, 2018
624 views
is it supported by 2PL?
656
views
1 answers
1 votes
Shivam Gupta 3 asked Aug 3, 2017
656 views
T1: r1(x)w1(x)r1(y)w1(y)T2: r2(y)w2(y)L is xclusive lock and U is unlock L1(y)L1(X)R1(Y)W1(Y)R1(X)W1(X)U1(X)U1(Y)L2(Y)R2(Y)W2(Y)U2(Y)?IS THIS SCHEDULE VALID UNDER A 2 PHASE LOCKING SCHEDULER????
465
views
0 answers
0 votes
aditi19 asked Nov 11, 2018
465 views
https://gateoverflow.in/1484/gate1999-2-6in this questions after T2 is not granted exclusive lock on A does the transaction T2 gets blocked entirely or it can continue ... , is it deadlock situation here? And is that why it is not 2PL?
1.3k
views
1 answers
3 votes
shivangi5 asked Dec 6, 2017
1,304 views
Consider the following schedule:S:R2(A) W1(B) W1(C) R3(B) R2(B) R1(A) C1 R2(C) C2 W3(A)C3Please explain how it is allowed in 2 PL