Question: Q . 1 Set. ( A ) ( i ) Consider the following classes of schedules: serializable, conflict - serializable, view - serializable, recoverable, avoids

Q.1Set. (A)
(i) Consider the following classes of schedules: serializable, conflict-serializable, view-serializable, recoverable, avoids-cascading-aborts, and strict. For each of the following schedules, state which of the preceding classes it belongs to. If you cannot decide whether a schedule belongs in a certain class based on the listed actions, explain briefly. Draw the precedence graph.
a) T1:R(X), T2:R(X), T1:W(X), T2:W(X)(1 mark)
b) T1:W(X), T2:R(Y), T1:R(Y), T2:R(X)(1 mark)
c) T1:R(X), T1:R(Y), T1:W(X), T2:R(Y), T3:W(Y), T1:W(X), T2:R(Y)(2 marks)
d) T1:W(X), T2:R(X), T1:W(X), T2:Abort, T1:Commit (1 mark)
(marks: 5)
(ii) Is the following Schedule conflict serializable? Draw Precedence graph.
S: R3(y) R3(z) R1(x) W1(x) W3(y) W3(z) R2(z) R1(y) W1(y) R2(y) W2(y) R2(x) W2(x)
(marks: 5)
Total marks: 10

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!