0 votes 0 votes Consider the following schedule: R2(A), R1(A), R3(B), W3(B), W2(A), R1(A) Is the above schedule view serializable? Databases view-serializable databases + – atulcse asked Jan 10, 2022 atulcse 402 views answer comment Share Follow See all 4 Comments See all 4 4 Comments reply atulcse commented Jan 10, 2022 reply Follow Share my thinking – Initial reads – Since T2 is doing the initial read on A before T1, T2 will come before T1. T3 does the initial read on B and no other transaction reads B. So, our schedule could be T2 → T1 → T3 or T3 → T2 → T1. Updated reads – T1 reads the value of A updated by T2, hence T1 will come after T2. No violation to our orders above. Final write – T3 writes B last, T2 writes A last. But since no other transactions write A or B, our orders are still valid and hence the schedule is view serializable to both T2 → T1 → T3 and T3 → T2 → T1. However, the answer key says that the schedule isn’t view serializable. What is wrong with my approach? 2 votes 2 votes Isha_99 commented Jan 10, 2022 i edited by Isha_99 Jan 10, 2022 reply Follow Share @atulcse The given schedule is not view serializable schedule. Since there is no blind write hence not view serializable . 3 votes 3 votes Isha_99 commented Jan 10, 2022 reply Follow Share Blind write is a necessary but not sufficient condition for a schedule to be view serializable . 1 votes 1 votes lalitver10 commented Jan 12, 2022 reply Follow Share Hii @atulcse Initial read for every transactions should be match. In case of T2-->T1-->T3 you are reading updated value,updated by T2 transaction similarly in T3-->T2-->T1 0 votes 0 votes Please log in or register to add a comment.
2 votes 2 votes It is not conflict serializable, and no blind write so not View serializable. amitraj123 answered Jan 10, 2022 amitraj123 comment Share Follow See all 0 reply Please log in or register to add a comment.