Draw the Schedule in a horizontal timeline manner with the X and S locks before the W and R.
Consider the following sequence of actions, listed in the order they are submitted to the DBMS.
Assume Strict 2PL with deadlock detection.
Draw a Wait For Graph (WFG) for the transactions and determine whether deadlock exists.
w1(x) r2(x) w2 (y) w2(x) w3 (z) r3 (y) w3 (y) w1 (z) abort1
What happens to T2 and T3 when T1 aborts?
Get Answers For Free
Most questions answered within 1 hours.