Skip to main content

GATE CSE 2026Databases › Transactions, Concurrency Control & IndexingVerified

GATE CSE 2026 PYQ: Consider concurrent execution of two transactions T 1 T 1 T 1 and T 2 T 2 T 2 in a DBMS, both of which…

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

  1. A
    Both T1T 1 and T2T 2 only read AA
    Correct answer
  2. B
    T1T 1 reads AA and T2T 2 writes AA
  3. C
    T1T 1 writes AA and T2T 2 reads AA
  4. D
    Both T1T 1 and T2T 2 write AA

Answer

(A) Both T 1 T 1 T 1 and T 2 T 2 T 2 only read A A A

Approach

Two operations conflict if they access the same data object and at least one of them is a write. Therefore, to avoid a conflict on object A, the only possible scenario is that both transactions perform only read operations on A.

Two operations conflict if they access the same object and at least one is a write. Therefore, T1 and T2 do not conflict on A only when both merely read A, which is option A.

Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.