Question: Question 2 ( 5 points ) Assume that initially ( mathrm { A } = 5 ) and ( mathrm
Question points
Assume that initially mathrmA and mathrmB are values on hard disk. The following is a transaction T of user program on A and B denotes assignment, ; gives order of operations:
T: AB A; AB B
T generates the following actions readwriteoutput to the database:
T: ReadA t; ReadB u; tu t; WriteA t; tu u; WriteB u; OutputA; OutputB;
and the following undoredo log records:
; ; ;
For the following transaction T
T: B A; A B
Add necessary readwriteoutput actions to the computation;
Show the undoredo log records it generates.
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
