A schedule is having two transactions T1andT2 executing concurrently and the schedules are given below. Which of these schedules results in "write-read conflict" with the actions of transaction T1andT2 on object x and y.
A
T2:R(X);T2:R(y);T1:R(X);T1:R(Y);T1:W(X);
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
None of the above
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
T2:R(x);T2:R(y);T2:W(x);T1:R(x);
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
T2:R(x);T2:W(x);T1:R(y);T1:W(y);T2:R(z);T1:R(z);
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is CT2:R(x);T2:R(y);T2:W(x);T1:R(x); Option (B) is having "Write-Read" conflict from T2:W(X)andT1:R(X)