Question
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started