Sample Header Ad - 728x90

View serializable schedule or not

0 votes
1 answer
296 views
enter image description here Could you help me understand why the schedule on the picture is view serializable without any "blind write"? Also, should the results be the same if two schedules are view equivalent? I did create serial version of the schedule and compare but they do not seem view equivalent to each other. --- Could you tell me if a concurrent schedule is view serializable, would it and a serial version of it have the same result in the end? Me and my lecturer have different opinions, and it is very hard for me to understand hers. She thinks it is *view serializable* but I do not. I am not sure who is correct. ### Definitions From GeekForGeeks: >If two schedules are view equivalent to each other, they are called as being *view serializable*. >1. Initial Read If a transaction T1 reading data item A from initial database in S1 then in S2 also T1 should read A from initial database. >2. Updated Read If Ti is reading A which is updated by Tj in S1 then in S2 also Ti should read A which is updated by Tj. >3. Final Write operation If a transaction T1 updated A at last in S1, then in S2 also T1 should perform final write operations. >If this three conditions are satisfied, these two schedule are called *view equivalent* to each other.
Asked by Shogo Minamoto (1 rep)
Mar 31, 2020, 02:18 PM
Last activity: Jun 16, 2022, 01:56 PM