362 views
0 votes
0 votes
Consider the following schedule:
S : r2(z), r2(y), w2(y), r3(y), w3(z), r1(x), w1(x), w3(y), w3(z), r2(x), r1(y),
w1(y), w2(x)

is this sechedule serializable ??

2 Answers

Best answer
1 votes
1 votes
Schedule is not Serial, not even Conflict Serial..

Cheking Vew Serial :

X initially read data from  database so X should execute before Y & Z bcoz Y & Z both update x value..

X ----> {Y,Z}        .............(1)

Final write of y done by transaction X. That means X should execute after Y & Z because both write y.

{Y,Z } ----> X.      ..............(2)

(1) & (2) contradict each other ..

So schedule is not  View Serial..

Non serialisable schedule..
selected by

Related questions

0 votes
0 votes
2 answers
1
focus _GATE asked Jun 29, 2015
736 views
T1:W(X), T2:R(Y), T1:R(Y), T2:R(X)• Is it conflict serializable, view serializable, serializable, recoverable, avoids cascading aborts, strict?
6 votes
6 votes
2 answers
4
Chhotu asked Nov 22, 2017
408 views
Refer check selected answer comments of https://gateoverflow.in/1995/gate2014-2-36.