hw8 - CPS216 Data-Intensive Computing Systems - Fall 2011...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: CPS216 Data-Intensive Computing Systems - Fall 2011 Exercise 8 This exercise will not be graded. Solutions will be posted by Dec 8. Question 1 Suppose a database system reboots after a crash and finds that both A and B on disk have the value 10. The log is found to be: <START T1> <START T2> <T1, A, 5> <COMMIT T1> <T2, B, 5> <T2, A, 15> [CRASH] 1. If the system is using UNDO logging, then give the initial state of the database before T1 and T2 began executing (i.e., what were the initial values of A and B on the disk?). 2. If the system is using UNDO logging, then what will be the final state of the database after recovery (i.e., what will be the values of A and B on the disk after the recovery process has finished?). 3. If the system is using REDO logging, then give the initial state of the database before T1 and T2 began executing (i.e., what were the initial values of A and B on the disk?)....
View Full Document

Page1 / 3

hw8 - CPS216 Data-Intensive Computing Systems - Fall 2011...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online