1,248 views

3 Answers

4 votes
4 votes

1. Conflict equal serial schedules
Conflict pairs:
T1->T2, T1->T5, T1->T4, T2->T5,T4->T5
T1->T2->T4->T5, Put T3 anywhere, 5 places.
T1->T2->T4->T5, Put T3 anywhere, 5 places
Hence, total 10 equal conflict serial schedules.

2. View equal serial schedules
Following are the dependencies
W/R Sequences
T1->T2
T1->T4
T4->T5
Last Updated By
T1->T5
Now, T1->(T2,T4,T5) and T4->T5
T1->T2->T4->T5, Put T3 anywhere, 5 places.
T1->T2->T4->T5, Put T3 anywhere, 5 places
Hence, 10 view equal serial schedules are possible.

edited by
0 votes
0 votes
T1 T2 T3 T4 T5
r1(A)        
    r3(D)    
w1(B)        
  r2(B)      
      r4(B)  
  w2(C)      
        r5(C)
      w4(E)  
        r5(E)
        w5(B)

Conflict operations sequence is 

T1--->T2  and T1--->T4 on B

T2--->T5 on C

T4--->T5 on B and E

Combining all precedence graph would look like

so Answer is option B(15)

View Serializable Answer

Total no of view serializable schedule is 8

edited by

Related questions

1 votes
1 votes
2 answers
1
DebRC asked Aug 16, 2022
1,922 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
2 answers
4
Anirban Biswas asked Jan 5, 2017
1,435 views
Consider a scheduleS: r1(A); W1(B); W1(C); r2(A); W2(B); W2(C); abort2; r3(A); W3(B); W3(C); C1; C3How many view equivalent serial schedules are possible for the given sc...