Question: Problem 2 ( 2 5 points ) : In the following schedule for transactions, w _ ( i ) ( A ) and r _

Problem 2(25 points): In the following schedule for transactions, w_(i)(A) and r_(i)(A) correspond to read
and write operations by transaction i on item A and RL_(A)^(i) and WL_(A)^(i) refer to read and write locking
operations on item A by transaction i.
RL_(x)^(1)r_(1)(x)RL_(Z)^(2)r_(2)(Z)RL_(x)^(3)r_(3)(x)RL_(Z)^(1)r_(1)(Z)RL_(Y)^(2)r_(2)(Y)WL_(Z)^(2)w_(2)(Z)WL_(x)^(1)w_(1)(x)WL_(Y)^(3)w_(3)(Y)WL_(Y)^(2)w_(2)(Y)
(a) Insert unlock operations into the above schedule so that locks are released as soon as possible
while maintaining two-phase locking (2 PL ) protocol. Which version of 2 PL (basic, conservative,
rigorous) does this schedule correspond to? Show the corresponding wait-for graph and explain if
this schedule produces deadlocks or not. (14 points)(b) When and what transactions, if any, will
be aborted if wait-die and wound-wait protocols were used on this schedule? (6 points)(c) For this
part, ignore the locking operations in the schedule. When and what transactions, will be aborted by
Basic Timestamp Ordering (TO)? What will be the difference in execution between Basic TO and
Thomas's Write Rule? (5 points)
Problem 2 ( 2 5 points ) : In the following

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!