MCQ · 2 marks · Transactions

GATE CS 2021 CS-2 — Q32

Let SS be the following schedule of operations of three transactions T1T_1, T2T_2 and T3T_3 in a relational database system:

R2(Y),R1(X),R3(Z),R1(Y),W1(X),R2(Z),W2(Y),R3(X),W3(Z)R_2(Y), R_1(X), R_3(Z), R_1(Y), W_1(X), R_2(Z), W_2(Y), R_3(X), W_3(Z)

Consider the statements P and Q below:

P: SS is conflict-serializable.
Q: If T3T_3 commits before T1T_1 finishes, then SS is recoverable.

Which one of the following choices is correct?
Select one option