Question: Disk Operations and Log Records Question 1 ( 5 points ) Assume that initially A = 5 and B = 1 0 are values on
Disk Operations and Log Records
Question points
Assume that initially A and B 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: AB B; AB A
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
