• retagged by
1,744 views
0 0 votes

Account on the following statements
 

  1. IF Conflict Serial schedule then it is ALWAYS possible under 2PL

1 Answer

–1 –1 vote
@AKhilNadh. Sorry for the previous incorrect answers.

Look at this conflict serializable schedule.

T1                       T2

------------------------------------

Shared(A)

R(A)

unlock(A)

                     exclusive(A)

                       W(A)

                    unlock(A)

------------------------------------>    At this point,T1 cannot acquire lock on B under 2PL.

W(B)

 

So, answer is every conflict serializable schedule is not always possible under 2PL.
Position:
Show:

Related questions

1 1 vote
1 1 answer
1.4k
1.4k views
Harsh Saini_1 asked Dec 27, 2023
1,447 views
How many total $Conflict$ $Serializable$ $Schedules$ are possible that can be formed by $T1$ and $T2?$$T1:$ $r_1(A)$ $r_1(B)$ $w_1(B)$$T2:$ $r_2(B)$ $r_2(A)$ $w_2(B)$
0 0 votes
1 1 answer
616
616 views
sambey4 asked Oct 16, 2021
616 views
Find Total no of conflict serializable and view serializableT1: R1(A) W1(A) R1(B) W1(B)T2: R2(A) W2(A) R2(B) W2(B)
2 2 votes
1 1 answer
1.4k
1.4k views
srestha asked Jan 24, 2018
1,440 views
It is not conflict serializable, So, why not option A) ??
1 1 vote
0 0 answers
844
844 views
srestha asked Jan 3, 2018
844 views
Two transaction T1 and T2 are given as followsT1: R1(A),W1(A),R1(B),W1(B)T2: R2(B),W2(B),R3(C),W3(C)Number of conflict serializable be ____________