Consider the following schedule:
S : w1(A) w1(B) r2(A) w2(B) r3(A) w3(B)
The number of schedules conflict equivalent are __________ .
I used topological ordering and got 8 as answer . other approach is given in this question :
https://gateoverflow.in/195950/conflict-serializability :
How did topological ordering give you 8??
This would be the graph, right? This gives only one way T1---> T2---> T3.
@Sumaiya23
its asking for conflict equivalent and not conflict serializable.
see the first comment under this qsn - https://gateoverflow.in/10299/conflict-equivalent
Similar questions:
https://gateoverflow.in/118640/gate2017-2-44
https://gateoverflow.in/10299/conflict-equivalent
https://gateoverflow.in/37446/number-of-conflict-serializible-schedules
............................
I think this is the correct approach
I think this should do it .
@ Pratyush Priyam Kuan If you see conflict equivalent schedule for this it will be T1 -> T2 -> T3, So how can we take operation 5 before T2 .
@sags.sharma position of 5 will not affect the conflict serializability. please check..
let me know if there is any mistake-
64.3k questions
77.9k answers
244k comments
80.0k users