CS FundamentalsHardGATE CS

Classify the schedule R2(X), W1(X), W2(X), W3(X) (all transactions commit afterwards).

  1. A. Conflict-serializable
  2. B. View-serializable but not conflict-serializable
  3. C. Neither conflict- nor view-serializable
  4. D. Conflict-serializable but not view-serializable

Correct answer: B. View-serializable but not conflict-serializable

R2(X) → W1(X) gives T2 → T1 and W1(X) → W2(X) gives T1 → T2, a cycle, so it is not conflict-serializable. The serial order T2, T1, T3 has the same initial read (T2) and the same final write (T3), so it is view-serializable thanks to the blind writes.

More DBMS and SQL questions

Exams that ask this topic