CS 4320/5320 Homework 5: 1 Consistency Models (15 Points)
CS 4320/5320 Homework 5: 1 Consistency Models (15 Points)
Fall 2014
Due Wed Dec 3rd, 2014
1
(Note: We use Rn (A) to denote transaction n reads element A, C(n) denotes
commit transaction n)
Draw the dependency graph for:
2
Describe the locking behavior needed to perform the following operations
(i.e. give the full sequence of lock and unlock requests that must be performed
for each operation).
Search for 19
Insert 43
Insert 13
Delete 4
Delete 42
What are the differences between 2PC and 2PC with Presumed Abort?
Submission Instructions
Submit one file:
A .pdf file containing all of your written answers. As usual, these must be
typed, scans of handwritten answers are not accepted.
Ensure the file contain the netID of everyone in your group and clearly state
which answer corresponds to which question.
3
5 Late Submissions:
See the standard course late policy as posted in CMS.
6 Academic Integrity:
See the standard course academic integrity policy as posted in CMS.