DBMS · Question 14 · Hard

Consider the schedule S: r1(X), w2(X), w1(X), where ri and wi are read and write by transaction Ti. Which statement is true?

  1. S is conflict serializable and equivalent to T1 → T2
  2. S is conflict serializable and equivalent to T2 → T1
  3. S is not conflict serializable, because its precedence graph has a cycle
  4. S is not conflict serializable, but it is conflict equivalent to T2 → T1
Answer and explanation

Answer: C. S is not conflict serializable, because its precedence graph has a cycle

Explanation: r1(X) before w2(X) gives the edge T1 → T2, and w2(X) before w1(X) gives T2 → T1. The cycle means no serial order is conflict equivalent to S.

Previous: Relation R(A, B, C) has the single functional dependency B → C. It is… · Next: Relation R(A, B, C) has the functional dependencies AB → C and C → B. Which is…

Practise dbms

Try a fresh set of dbms questions with an explanation after every answer, free and without signing up: DBMS practice. Or sit a full placement mock test.

More dbms questions

More technical & programming practice

SQL · Operating Systems · Computer Networks · Software Engineering · Cloud & DevOps · GenAI Basics · Pseudo-code · C Programming

LogicWiz Exams home · All practice topics · Placement mock tests · Daily 10 challenge