Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider aserial schedule which involves 3 data items A, B, C with initial value 1000, 2000, 800, respectively. Assuming the sytem has crashed, for any

Consider aserial schedule <T 0 ,T 1 ,T 2 > which involves 3 data items A, B, C with initial value 1000, 2000, 800, respectively. Assuming the sytem has crashed, for any of the following log files, state the corresponding recovery plan (i.e list the transactions needed to be undone and redone in order and for each transacton T, state the values of the data items that are involved in the transaction T after the undone and redone operation)

a. <T 0 ,start>, <T 0 , A, 1000, 900>, <T 0 , B, 2000, 2100>

b. <T 0 , start>, < T 0 , A, 100, 900>, <T 0 , B, 2000, 2100>, <T 0, commit>, < T 1 , start>, <T 1 , C, 800, 900>

c. <T 0 , start>, <T 0 , A, 1000, 900>, < T 0, B, 2000, 2100>, <T 0 , commit>, <T 1 , start>, <T 1 , C, 800, 900>, <T 1, commit>, <T 2 , C, 900, 1000>

d. <T 0 , start>, <T 0 , A, 900>, <T 0 , B, 2100>

e. <T 0 , start>, < T 0 , A, 900>, <T 0 , B, 2100>, <T 0 , commit>, <T 1 , start>, <T 1 , C, 900>, <T 1 , commit>, <T 2 , C, 900,1000>

Step by Step Solution

3.40 Rating (153 Votes )

There are 3 Steps involved in it

Step: 1

a Since T0 has not committed yet and the system crashed So Undo T0 needs to be done since is present ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Document Format ( 2 attachments)

PDF file Icon
609659a2a4d4f_26812.pdf

180 KBs PDF File

Word file Icon
609659a2a4d4f_26812.docx

120 KBs Word File

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Mathematical Applications for the Management Life and Social Sciences

Authors: Ronald J. Harshbarger, James J. Reynolds

11th edition

9781337032247, 9781305465183, 1305108043, 1337032247, 1305465180, 978-1305108042

More Books

Students also viewed these Programming questions

Question

Describe Humes general approach to the problem of causality.

Answered: 1 week ago