Tell what happens when each schedule from iii is run by a


For each of the schedules of transactions T1, T2, and T3 below:

2378_31e3b6fd-e439-4c2b-9837-cf1aa69c8edc.png

do each of the following:

i. Insert shared and exclusive locks, and insert unlock actions. Place a shared lock immediately in front of each read action that is not followed by a write action of the same element by the same transaction. Place an exclusive lock in front of every other read or write action. Place the necessary unlocks at the end of every transaction.

ii. Tell what happens when each schedule is run by a scheduler that supports shared and exclusive locks.

iii. Insert shared and exclusive locks in a way that allows upgrading. Place a shared lock in front of every read, an exclusive lock in front of every write, and place the necessary unlocks at the ends of the transactions.

iv. Tell what happens when each schedule from (iii) is run by a scheduler that supports shared locks, exclusive locks, and upgrading.

v. Insert shared, exclusive, and update locks, along with unlock actions. Place a shared lock in front of every read action that is not going to be upgraded, place an update lock in front of every read action that will be upgraded, and place an exclusive lock in front of every write action. Place unlocks at the ends of transactions, as usual.

vi. Tell what happens when each schedule from (v) is run by a scheduler that supports shared, exclusive, and update locks.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Tell what happens when each schedule from iii is run by a
Reference No:- TGS01596474

Expected delivery within 24 Hours