4,400 views
1 votes
1 votes
Consider the transactions T1, T2, T3 with the following schedule S:

S : T1: Read (x); T2: Read (z); T1:Read(z);

    T3:Read(x);T3:Read(y); T1:Write(x);

    T3:Write (y);T2:Read(y);

     T2:Write(z); T2:Write(y)

If the schedule S is serializable, the equivalent serial schedule is ____.

  i am getting T3T1T2 but answer given is T3T2T1

1 Answer

Best answer
1 votes
1 votes
$T_{1}$ $T_{2}$ $T_{3}$
R(X)    
  R(Z)  
R(Z)    
    R(X)
    R(Y)
W(X)    
    W(Y)
  R(Y)  
  W(Z)  
  W(Y)  

 

selected by

Related questions

1 votes
1 votes
1 answer
1
Arjun asked Feb 16
2,279 views
​​​​Consider the following read-write schedule $\text{S}$ over three transactions $T_{1}, T_{2}$, and $T_{3}$, where the subscripts in the schedule indicate trans...