1 1 vote Consider the following database schedule with $3$ transactions, $T1$ ,$T2$ and $T3$. Where $r$ stands for READ, w for WRITE. $S : r2 (A); r1 (B); w2 (A); r2 (B); r3 (A); w1 (B); w3(A); w2 (B)$ Which one of the following statements about the above schedule is TRUE? the schedule is serializable the schedule is not serializable schedule will not execute this schedule have deadlock Databases tbb-dbms-1 databases serializability concurrency + – Bikram 1.1k views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
Best answer 1 1 vote The schedule is not conflict serializable as there is a cycle in the precedence graph cycle in precedence graph therefore not conflict serializable, now we have to check for is blind write existing or not but there is no blind write therefore not conflict serializable and not view serializable therefore not serializable answer is B . Bikram answered Feb 5, 2017 Bikram comment Share Follow See all 4 Comments 4 4 Comments reply Bikram commented Feb 5, 2017 reply Follow flag How to check , is clear from this diagram . 4 4 replyShare Zaki Mustafa commented Mar 1, 2017 reply Follow flag what is view rule? 1 1 replyShare Bikram commented Mar 2, 2017 reply Follow flag The Definition to become view equivalent serial schedule 1) Initial read must be same. 2) Any write by Ti followed by a read in Tj , the same condition should be followed [ that means We need to preserve Write-Read dependency( W-R ) . ] 3) last operation on some item should be same in view equivalence schedule. 1 1 replyShare val_pro20 commented Jan 8, 2021 reply Follow flag why not deadlock? 0 0 replyShare Please log in or register to add a comment.