CS FundamentalsHardGATE CS · Product placement
Consider the schedule R2(B), R2(C), W3(A), W1(B), R1(C), W1(C), R3(B). Which statement is correct?
- A. It is not conflict serializable
- B. Conflict serializable, equivalent only to T1 → T3 → T2
- C. Conflict serializable, equivalent only to T2 → T1 → T3
- D. Conflict serializable, equivalent only to T3 → T2 → T1
Correct answer: C. Conflict serializable, equivalent only to T2 → T1 → T3
Conflict edges: T1→T3, T2→T1. The graph is acyclic and its only topological order is T2 → T1 → T3.
More DBMS and SQL questions
- A multilevel index is built over a first level of 90,000 index entries; every index block holds 45 entries (fan-out 45), and levels are…
- Which statement about the expressive power of query languages is correct?
- R is decomposed into R1 and R2. Which condition guarantees the decomposition is lossless?
- Table T(x) has rows (1), (2), (3) and table U(y) has rows (2), (NULL). What do these two queries return? Q1: SELECT COUNT() FROM T WHERE x…
- Cust(cid, city) has rows (1, 'Pune'), (2, 'Delhi'), (3, NULL), (4, 'Pune'). Ord(oid, cid, amt) has rows (10, 1, 500), (11, 1, NULL), (12…
- Ord(oid, cid, amt) has rows (10, 1, 500), (11, 1, NULL), (12, 2, 300), (13, NULL, 200), (14, 5, 100). What does SELECT COUNT()…