CS FundamentalsHardGATE CS · PSU (ISRO/BARC)
Consider the schedule R2(B), R3(A), W3(A), R2(A), W2(B), R1(B), R1(A). Which statement is correct?
- A. Conflict serializable, equivalent only to T3 → T1 → T2
- B. Conflict serializable, equivalent only to T3 → T2 → T1
- C. Conflict serializable, equivalent only to T2 → T1 → T3
- D. It is not conflict serializable
Correct answer: B. Conflict serializable, equivalent only to T3 → T2 → T1
Conflict edges: T2→T1, T3→T1, T3→T2. The graph is acyclic and its only topological order is T3 → T2 → T1.
More DBMS and SQL questions
- The system crashes after the last record of this log (immediate database modification; <Ti, X> denotes an update with old and new values…
- R(A, B, C, D, E) has functional dependencies CE → A, B → AC, BE → CD, DE → B. How many superkeys does R have?
- Classify the schedule W1(B), W2(A), R2(B), C2, W1(A), C1 (Ci = commit of Ti) by the strongest property it satisfies.
- R(A, B, C, D, E) has functional dependencies CE → A, A → D, AC → DE, B → D. How many superkeys does R have?
- R(A, B) = {(1, 1), (1, 3), (3, 1), (3, 2), (3, 3)} and S(B, C) = {(1, 5), (2, 5), (2, 6), (2, 7), (4, 6)}. How many tuples are in πA(R ⋈…
- R(A, B, C, D, E, F) has functional dependencies AE → F, A → BCD, F → B. What is the closure {AC}⁺?