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 ?? focus _GATE asked Jul 1, 2015 focus _GATE 362 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
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.. Digvijay Pandey answered Jul 1, 2015 • selected Jul 1, 2015 by focus _GATE Digvijay Pandey comment Share Follow See all 3 Comments See all 3 3 Comments reply focus _GATE commented Jul 2, 2015 reply Follow Share sir ,can we proceed in this way : first we check is it Conflict serializable schedule !than if it is CSS than we can say it is view serializable which means it is SERILIZABLE SCHEDULE.??? 1 votes 1 votes Digvijay Pandey commented Jul 2, 2015 reply Follow Share Checking order should be : Serial ---> CSS ---> VSS 0 votes 0 votes focus _GATE commented Jul 2, 2015 reply Follow Share thanx 0 votes 0 votes Please log in or register to add a comment.
1 votes 1 votes Its not a conflict nor view serializable . Pranay Datta 1 answered Jul 1, 2015 Pranay Datta 1 comment Share Follow See all 0 reply Please log in or register to add a comment.