Computer Science And Engineering

Computer Science And EngineeringDatabase Management System (DBMS)Multiple Choice (MCQ)1 Mark
Q3.

A schedule of three database transactions T1T_1, T2T_2, and T3T_3 is shown. Ri(A)R_i(A) and Wi(A)W_i(A) denote read and write of data item AA by transaction Ti,i=1,2,3T_i, i = 1,2,3. The transaction T1T_1 aborts at the end. Which other transaction(s) will be required to be rolled back?

R1(X) W1(Y) R2(X) R2(Y) R3(Y) ABORT(T1)R_1(X)\ W_1(Y)\ R_2(X)\ R_2(Y)\ R_3(Y)\ ABORT(T_1)

A
Only T2T_2
B
Only T3T_3
C
Both T2T_2 and T3shadowT_3 shadow
D
Neither T2T_2 nor T3T_3