Which of the following schedule is recoverable ?

preview_player
Показать описание
Consider the following schedules:
S1: r1(X); w1(X); r1(Y); w1(Y); r2(X); w2(X); C2; C1;
S2: r1(X); w1(X); r2(X); r1(Y); w2(X); w1(Y); C1; C2;
Which of the following is true?

(A) Both S1 and S2 are recoverable
(B) S1 is recoverable, but S2 is not
(C) S2 is recoverable, but S1 is not
(D) Both schedules are non recoverable

IMPORTANT LINKS:
Both of the above mentioned platforms are COMPLETELY FREE, so feel free to Explore, Learn, Practice & Share!

Our Social Media Links:

Last but not the least, SUBSCRIBE our YouTube channel to stay updated about the regularly uploaded new videos.
Рекомендации по теме
Комментарии
Автор

Excellent video. got it at the right time. I have a question though. If we want to check whether a schedule is recoverable or not (if there is no commit statement listed), what should we do to check recoverability? Thanks

noahdaniel
Автор

your r's look like y's and it's very confusing

danny
Автор

sir what if you commit first S1: r1(X); c1; r2(Y); c2; r3(Z); c3; w1(X); w2(Y); w3(Z); is this recoverable?

beamaybelarmino