Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts Of Database Management

Authors: Joy L. Starks, Philip J. Pratt, Mary Z. Last

9th Edition

1337093424, 978-1337093422

More Books

Students also viewed these Databases questions

Question

How do the halves of the brain operate interdependently?

Answered: 1 week ago