44 44 votes Consider the transactions $T1, T2, \:\text{and} \:T3$ and the schedules $S1 \:\text{and} \:S2$ given below. $T1: r1(X); r1(Z); w1(X); w1(Z) $ $T2: r2(Y); r2(Z); w2(Z) $ $T3: r3(Y); r3(X); w3(Y) $ $S1: r1(X); r3(Y); r3(X); r2(Y); r2(Z); w3(Y); w2(Z); r1(Z); w1(X); w1(Z) $ $S2: r1(X); r3(Y); r2(Y); r3(X); r1(Z); r2(Z); w3(Y); w1(X); w2(Z); w1(Z) $ Which one of the following statements about the schedules is TRUE? Only $S1$ is conflict-serializable. Only $S2$ is conflict-serializable. Both $S1$ and $S2$ are conflict-serializable. Neither $S1$ nor $S2$ is conflict-serializable. Databases gatecse-2014-set3 databases transaction-and-concurrency conflict-serializable normal + – go_editor 13.6k views answer comment Share Follow Print See all 2 Comments 2 2 Comments reply Raj_Dev_Verma commented Aug 14 reply Follow flag s1 is conflist serialezable but s2 is not confliect serizable becz s2 precedence graph has cycle like 't1 ro t2 and t2 to t1' 0 0 replyShare Jayvijay Chauhan commented Sep 17 reply Follow flag Hope this will help !! 0 0 replyShare Please log in or register to add a comment.
Best answer 59 59 votes $S_1$ has no cycle hence, Conflict-Serializable $S_2$ has cycle hence NOT Conflict-Serializable Answer is option A. amarVashishth answered Oct 12, 2015 • edited May 1, 2021 by S k Rawani amarVashishth comment Share Follow See all 3 Comments 3 3 Comments reply Gupta731 commented Sep 25, 2018 reply Follow flag In schedule S1: r1(z), w1(x), w1(z) are not taken into consideration for conflicts. Is it because they are present at the last and all other operations have happened before them? 0 0 replyShare Shaik Masthan commented Sep 25, 2018 reply Follow flag @Gupta731 Is it because they are present at the last and all other operations have happened before them? yes, 1 1 replyShare Kuljeet Shan commented Apr 7, 2019 reply Follow flag Precedence graph is always between conflicting pairs. right? like R(x)W(x), W(x)R(x) & W(x)W(x). 0 0 replyShare Please log in or register to add a comment.
7 7 votes In s1 there is no cycle ..serial order of execution for s1 is t2 t3 and t1 in s2 there is cycle in precedence graph so not conflict serializable so ans is a Pooja Palod answered Aug 30, 2015 Pooja Palod comment Share Follow 0 reply Please log in or register to add a comment.
4 4 votes BEST ANSWER akshay_123 answered Jul 6, 2025 akshay_123 comment Share Follow 0 reply Please log in or register to add a comment.