Consider concurrent execution of two transactions 𝑇1 and 𝑇2 in a DBMS, both…

Consider concurrent execution of two transactions 𝑇1 and 𝑇2 in a DBMS, both of which access a data object 𝐴. For these two transactions to not conflict on 𝐴, which one of the following statements must be true?

Answer: A. (A) Both 𝑇1 and 𝑇2 only read 𝐴 β€” Two operations conflict if: They belong to different transactions. They access the same data item. At least one of them is a write operation. Therefore, the…

  1. A.

    (A) Both 𝑇1 and 𝑇2 only read 𝐴

  2. B.

    (B) 𝑇1 reads 𝐴 and 𝑇2 writes 𝐴

  3. C.

    (C) 𝑇1 writes 𝐴 and 𝑇2 reads 𝐴

  4. D.

    (D) Both 𝑇1 and 𝑇2 write 𝐴

Attempted by 125 students.

Show answer & explanation

Correct answer: A

Two operations conflict if:

  • They belong to different transactions.

  • They access the same data item.

  • At least one of them is a write operation.

Therefore, the only case where there is no conflict is when both operations are reads.

Explore the full course: Isro

Loading lesson…