
Database Systems 6th Edition by Ramez Elmasri, Shamkant B. Navathe
Edition 6ISBN: 0136086209
Database Systems 6th Edition by Ramez Elmasri, Shamkant B. Navathe
Edition 6ISBN: 0136086209 Exercise 9
Consider the three transactions T1(X), T2(X), and T3(X), and the schedules S1 and S2 given below. Draw the serializibility (precedence) graphs for S1 and S2 and state whether each schedule is serializable or not. If a schedule is serializable, write down the equivalent serial schedule(s).
T1(X): r1(X); r1(z); w1(X)
T2(X): r2(z); r2(y); w2(z); w2(y)
T3(X): r3(X); r3(y); w3(y)
S1: r1(X); r2(z); r1(X); r3(X); r3(y); w1(X); w3(y); r2(y); w2(z); w2(y)
S2: r1(X); r2(z); r3(X); r1(z); r2(y); r3(y); w1(X); w2(z); w3(y); w2(y)
T1(X): r1(X); r1(z); w1(X)
T2(X): r2(z); r2(y); w2(z); w2(y)
T3(X): r3(X); r3(y); w3(y)
S1: r1(X); r2(z); r1(X); r3(X); r3(y); w1(X); w3(y); r2(y); w2(z); w2(y)
S2: r1(X); r2(z); r3(X); r1(z); r2(y); r3(y); w1(X); w2(z); w3(y); w2(y)
Explanation
Schedule S1: It is a serializable schedu...
Database Systems 6th Edition by Ramez Elmasri, Shamkant B. Navathe
Why don’t you like this exercise?
Other Minimum 8 character and maximum 255 character
Character 255