Identify all actions that need to be undone

Assignment Help Computer Engineering
Reference no: EM132105052

In this problem, you need to simulate the actions taken by the logging and recovery manager discussed in the class. Consider the following log records and buffer actions:

timeLSNLogBuffer Actions
0 00 update: T1 updates P7 P7 brought in to the buffer
1 10 update: T1 updates P8 P8 brought into the buffer
2 20 begin_checkpoint
3 30 end_checkpoint
4 40 update: T2 updates P7
5
CRASH RESTART

a) For the actions listed above, show Transaction Table (XT) and Dirty Page Table (DPT) after each action. Assume that DPT holds pageID and recLSN, and XT contains transID and lastLSN.

b) Simulate Analysis phase to reconstruct XT and DPT after crash. Identify the point where the Analysis phase starts scanning log records and show XT and DPT after each action.

c) Simulate Redo phase: first identify where the Redo phase starts scanning the log records.Then, for each action identify whether it needs to be redone or not.

d) Simulate Undo phase: identify all actions that need to be undone. In what order will they be undone?

Reference no: EM132105052

Questions Cloud

What is profit margin-brighton company : Brighton Company has income from operations of $36,000, invested assets of $180,000, and sales of $720,000.
Write down what is the domain of your function : He has 67 feet fencing material. He wants to make the biggest area for his garden, so he will use one side of the fence of his yard to save some material.
Actual and standard direct materials costs : The actual and standard direct materials costs for producing a specified quantity of product are as follows:
Reduction in income tax rates influence consumption : Proffered with the Keynesian consumption function, how would a reduction in income tax rates influence consumption?
Identify all actions that need to be undone : Simulate Redo phase: first identify where the Redo phase starts scanning the log records.Then, for each action identify whether it needs to be redone or not.
Accrual basis of accounting : Why is usually that the accrual basis of accounting is ordinarily of the preference as compared to over cash basis?
Ratio on reserve set : If a bank holds an access reserve of $8000 and the checkable deposits are at $150000 and the ratio on reserve set at 20%?
How much are the budgeted purchases for? november : Beginning inventory for November $47000 and ending inventory for November is estimated at $53000. How much are the budgeted purchases for? November?
Create an employee object using the constructor : Write another main function to answer the following parts. Only submit the main function for this problem.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd