6,809 views
6 votes
6 votes
Consider the following schedule:

$S: r_1(A), w_2(A), Commit_2, w_1(A),w_3(A), Commit_3, Commit_1$

Which of the following is true?
a. Schedule is view serializable schedule and strict recoverable schedule
b. Schedule is non serializable schedule and strict recoverable schedule
c. Schedule is non serializable schedule and not strict recoverable schedule
d. Schedule is serializable schedule and not strict recoverable schedule

What is the answer? Also I know what is "strict schedule" and "recoverable schedule", But then what it means by "strict recoverable"?

2 Answers

Best answer
10 votes
10 votes

First of all it is a view serialisable schedule as it  has view equal serial schedule T1 : T2 : T3 which satisfies the initial and updated reads and final write on variable A which is required for view serialisability.

So now coming to strict recoverability.A schedule is said to be strict recoverable iff :

If   say Ti   writes before Tj  writes or reads, then Tj must read or write after Ti  commits or aborts then only the schedule will be strict recoverable.

Now we  can see there is write - write pair done by transactions T1  followed by T3  which is violating the above mentioned condition as T3  is supposed to do write operation only after T1 commits which is not happening in the given schedule..

Hence the given schedule is serialisable but not strict recoverable.Hence the correct option is D) 

selected by
7 votes
7 votes

Strict recoverable means when write to read /write sequence present in two different transaction then first transaction which write is commit then only another transaction read/ write it .

Here it is not strict recoverable since Transaction1 write(A) is not commit and Transaction3 write(A) is done so not strict recoverable.

Schedule is not conflict serializable and thier is blind write so yes view seriablizable ( Serializable).

D is answer.

Related questions

1 votes
1 votes
2 answers
1
DebRC asked Aug 16, 2022
1,923 views
Is only conflict serializable schedules are recoverable?Or both view as well as conflict serializable schedules are recoverable?I have been seeing different answers in di...
0 votes
0 votes
0 answers
2
learner_geek asked Nov 25, 2017
7,979 views
This is strict schedule or not?
3 votes
3 votes
2 answers
3
Tendua asked Oct 26, 2016
656 views
Consider the following database schedule with two transactions T1T1 and T2T2.S=r2(X);r1(X);r2(Y);w1(X);r1(Y);a1;a2 where a1 and a2 stands for abort. Is It a strict sched...
1 votes
1 votes
1 answer
4
budhu asked Jan 29, 2018
1,504 views
The given schedule:R1 (A) R2 (B) W2 (B) W1(A) W2 (A) Commit2 R1 (C)is revoreable, cascadeless or strict?