384 views
0 votes
0 votes
consider the transaction: S:r1(a),r3(d),w1(b),r2(b),w3(b),r4(b),w2(c),r5(c),w4(c),r5(e),w5(b)

1:how many conflict equal serial shedual.

2:how many view equal serial shedual

3:the number of serial order which are view equal but not conflict equal??

2 Answers

0 votes
0 votes

The Definition to become view equivalent serial schedule 

1) Initial read must be same.

2)  Any write by Ti  followed by a read in Tj , the same condition should be followed

[ that means We need to preserve Write-Read dependency( W-R ) . ]

3) last operation on some item should be same in view equivalence schedule.

T1 and T5 is fixed , due to initial read and final write .

now T3T4 is in W-R dependency due to w3(b),r4(b) . And T2 is free , T3 always come before T4.

so T1_T3T4_T5  and T2 come in 2 places so number of view equivalent serial schedule is 2 .

Answer:

Related questions

0 votes
0 votes
0 answers
1
SakarKoot asked Sep 4, 2022
237 views
What is Proof/Explanation for complexity to test if a schedule is conflict serializable is O(n^2) whereas for view serializable is O(2^n)-Exponential ?
0 votes
0 votes
1 answer
2
atulcse asked Jan 10, 2022
399 views
Consider the following schedule:R2(A), R1(A), R3(B), W3(B), W2(A), R1(A)Is the above schedule view serializable?
0 votes
0 votes
1 answer
3
atulcse asked Nov 2, 2021
457 views
Can a schedule be serializable if it is not view serializable? Are conflict equivalence and view equivalence the only two ways to decide if a schedule is serializable?
1 votes
1 votes
1 answer
4
Na462 asked Jan 13, 2019
1,522 views
Consider following Schedule S with data item x :S : W1(X) R2(X) W3(X) R4(X) W5(X) R6(X) W7(X) R8(X) W9(X) R10(X)The number of schedule view equivalent to Schedule S but n...