Using the transaction log you created in Step 1 above, trace its use in a database recovery. Do this in a similar table format (see Table 10.16 in book) by backing out each transaction and resetting the BEFORE and AFTER values accordingly. Begin with the last id for the transaction and work backward using the prev_ptr to identify the next step to undo moving from the end of the transaction back to the beginning.
-
Write the transaction log using Table 10.1 from the textbook as your guide. Assume that product ‘ABCD’ has a PROD_QOH = 1,214 at the start of the transaction and that the transaction is representing the addition of 1 new product. Also assume that PART components “AAAA”, “BBBB”, “CCCC” and “DDDD” have a PROD_QOH equal to 547, 108, 249, and 89 respectively.
-
Using the transaction log you created in Step 1 above, trace its use in a
database recovery. Do this in a similar table format (see Table 10.16 in book) by backing out each transaction and resetting the BEFORE and AFTER values accordingly. Begin with the last id for the transaction and work backward using the prev_ptr to identify the next step to undo moving from the end of the transaction back to the beginning.
PLEASE answer question 2! Transanction log from question one provided as image
Trending now
This is a popular solution!
Step by step
Solved in 2 steps