Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question No: 0 1 ( a ) In a certain log - based recovery system with checkpointing, following entries are seen in a partial log:

Question No: 01
(a)In a certain log-based recovery system with checkpointing, following entries are seen in a partial log: [T1, start]; [T1, A,10,25]; [T2, start]; [T3, start]; [T2, A,25,5]; [T2, Commit]; [T1, B,5,35]; [T3, C,2000,20] ; [T4, start]; [T1, C,20,10]; [checkpoint]; [T4, commit]; [T3, B,35,18]; [T5, start]; [T5, C,10,80]; //System Crush//.
Now give actions need to be taken (as part of the recovery process) for each of the above transactions (T1, T2, T3, T4 and T5), if immediate modification technique is used in recovery.
[3 Marks]
(b)For the following SQL query, give the final optimized query tree which is the result of applying a number of heuristic optimization rules. [2 Marks]
SELECT B.bid, B.Titie, P.pname, p.plocation
FROM Book B, PublisherP
WHERE B. pid = P.pid and P.category =B' and B. price >500;
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

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

Modern Database Management

Authors: Fred R. McFadden, Jeffrey Slater, Mary B. Prescott

5th Edition

0805360549, 978-0805360547

Students also viewed these Databases questions