Consider concurrent execution of two transactions and 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?
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…
- ABoth and only readCorrect answer
- Breads and writes
- Cwrites and reads
- DBoth and write
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.