T1 |
T2 |
T3 |
R(A) |
|
|
W(B) |
|
|
W(C) |
|
|
|
R(A) |
|
|
W(B) |
|
|
W(C) |
|
|
abort 2 |
|
|
|
R(A) |
|
|
W(B) |
|
|
W(C) |
C1; |
|
|
|
|
C3; |
Here Transaction T2 is aborted in middle so no need of that transaction.it is independent.
No of conflict serializable schedules:
Construct precedence graph no of topological sortings equall to no of schedules.
No of conflict schedules=3
T1->T2->T3
T1->T3->T2
T2->T1->T3