GATE CS 2020 · Question 47 · Databases · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer

Consider a schedule of transactions T₁ and T₂:
Here, RX stands for “Read(X)” and WX stands for “Write(X)”. Which one of the following schedules is conflict equivalent to the above schedule?

T₁RARCWDWBCommit
T₂RBWBRDWCCommit
  1. (A) T₁ | RA | RC | WD | WB | Commit; T₂ | RB | WB | RD | WC | Commit
    T₁RARCWDWBCommit
    T₂RBWBRDWCCommit
  2. (B) T₁ | RA | RC | WD | WB | Commit; T₂ | RB | WB | RD | WC | Commit
    T₁RARCWDWBCommit
    T₂RBWBRDWCCommit
  3. (C) T₁ | RA | RC | WD | WB | Commit; T₂ | RB | WB | RD | WC | Commit
    T₁RARCWDWBCommit
    T₂RBWBRDWCCommit
  4. (D) T₁ | RA | RC | WD | WB | Commit; T₂ | RB | WB | RD | WC | Commit
    T₁RARCWDWBCommit
    T₂RBWBRDWCCommit
Answer

Answer (A)

Answer from the official GATE CS 2020 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes