656 views
3 votes
3 votes
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 schedule?

Please explain why or why not?

2 Answers

Best answer
10 votes
10 votes
A schedule is strict if : A value written by a transaction T is not read or overwritten by other transactions until T either commits or aborts.. so in given schedule W1 (X) is not read or written by other transactions... so it seems to be a strict schedule..
selected by
–1 votes
–1 votes
It is not a strict schedule because a schedule is strict if a value written by a transaction cannot be read or over writtten by other transaction until the transaction either commits (or) aborts

Related questions

0 votes
0 votes
0 answers
1
learner_geek asked Nov 25, 2017
7,978 views
This is strict schedule or not?
0 votes
0 votes
2 answers
3
0 votes
0 votes
0 answers
4
jayadev asked Jul 2, 2022
356 views
question about concurrency control methods