Question: 3 . Transaction Processing Consider schedules S 1 and S 2 below. S 1 : r 2 ( X ) , r 2 ( Z
Transaction Processing
Consider schedules S and S below.
S: rX rZ rY wX wZ wY rZ rX wX rX rZ wX wZ wZ
S: rX rZ rY wY wX rY wZ rX rX rZ wZ rZ wY wZ
a Apply the basic timestamp ordering BTO algorithm to schedules S and S Determine whether or not the algorithm allows the execution of the schedules, and discuss cascading rollback if any
Hints: each operation takes one time unit, and timestamp of each transaction is the time associated to its first operation. For example, timestamps of transactions T T and T in schedule S are and respectively
b Testing the serializability of S and S by serialization graph technique to prove that the successful execution of a schedule under BTO will ensure the serializability of the schedule.
c Examine the recoverable characteristic of S and S What schedule S or S can be executed under the strict timestamp ordering STO algorithm and write an equivalent strict schedule for it We assume that a transaction will be be committed or aborted right after its last operation.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
