Question: Consider the three transactions T 1 , T 2 , and T 3 , and the schedules S 1 and S 1 given below. Draw

Consider the three transactions T1, T2, and T3, and the schedules S1 and S1 given below. Draw the serializability (precedence) graphs for S1 and S2, and state whether each schedule in serializable or not. If a schedule is serializable, write down the equivalent serial schedule(5)
10 marks
T1: rl (P); rl (R); wl (P); T2: 12(R); r2(Q); w2(R); w2(R); T3: r3(P); r3(Q); w3(Q); S1: rl (P); r2(R); r1(R); r3(P); r3(Q); w1(P); w3(Q); r2(Q); w2(R); w2(Q): S2: rl (P); r2(R); r3(P); rl (R); r2(Q); r3(Q); w1(P); w2(R); w3(Q); w2
a. Draw the serializability (precedence) graphs for S1 and S2.4 marks
b. State whether each of the schedules S1 and S2 is serializable or not and why? 4 marks
c. If a schedule is serializable, write down the equivalent serial schedule(s).2 marks

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!