edited by
1,022 views
1 votes
1 votes

Is the following schedule view serializable?

T1 T2 T3
R(A)    
  R(A)  
  W(A)  
    W(A)
  W(A)  
edited by

2 Answers

Best answer
0 votes
0 votes
From initial reads, we can derive that T1-->T2-->T3

And from final write, we can say, T3-->T2.

No updated reads here.

There is conflict T2-->T3 and T3-->T2.

so, not view serializable.
selected by
1 votes
1 votes
The schedule is not View serializable:

First read: T1

Last write: T2

Read after write: None

Write after Write: T2->T3 and T3->T2

since there is a cycle so it is not View serializable.

Related questions

2 votes
2 votes
1 answer
1
Sushant Gokhale asked Feb 21, 2017
443 views
Whats the minimum number of multiplications required to compute$x^{7}$ * $x^{17}$ for any given integer value of 'x' ?A) 4B) 5C) 6D) 7