Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

4. a. Consider a database with objects X and Y and assume that there are two transactions T1 and T2. Transaction T1 reads objects X

4. a. Consider a database with objects X and Y and assume that there are two transactions T1 and T2. Transaction T1 reads objects X and Y and then writes object X. Transaction T2 reads objects X and Y and then writes objects X and Y. Give three example histories over transactions T1 and T2 that result in

a write-read conflict

a read-write conflict

a write-write conflict

Show that each serial history involving transactions T1 and T2 preserves the consistency requirement of the database

b. Specify a recovery strategy which would never require undoing or re-doing side-effects (both undoing and redoing are not required). How would such a recovery strategy be implemented?

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

Spomenik Monument Database

Authors: Donald Niebyl, FUEL, Damon Murray, Stephen Sorrell

1st Edition

0995745536, 978-0995745537

More Books

Students also viewed these Databases questions