Q2. Check whethe.r the given schedule S is conflict serializable or not? If yes, then Draw a precedence graph for it and give valid serial schedules possible using topological sort. S : R1(A) , R2(A) , R1(B) , R2(B) , R3(B) , W1(A) , W2(B)
Expert's answer
List all the conflicting operations and determine the dependency between the transactions-
R3(B), W2(B) (T3 → T2)
R2(A), W1(A) (T2 → T1)
R1(B), W2(B) (T1 → T2)
Precedence Graph is:
There is a circle in the precedence graph, thus schedule S is not serializable.