CS 5200 Introduction to Database Management Fall 2012
CS 5200 Introduction to Database Management Homework #10
Determine whether the following schedules are conflict-serializable, view-serializable or strict.
- If the schedule is conflict-serializable, give an example of a serial order for the transactions.
If the schedule is not conflict-serializable, explain why.
- If the schedule is view-serializable, give an example of a serial order for the transactions.
If the schedule is not view-serializable, explain why.
- If the schedule is not strict, give an example of an operation that violates the strictness requirement.
The definition of a strictness violation is a pattern of the following form:
Wi(X) ... Opj ... Cj ... Ci
where i and j are different transaction identifiers, and Op is either a read or a write.
However, in fact, strict two-phase locking prevents any pattern of the following form:
Wi(X) ... Opj ... Ci
In your solution indicate whether you are using "strict" or "strict 2PL".
The term for this form of strictness is "avoids cascading aborts".
- R4(B), R1(A), R1(B), W3(B), W2(C), C1, R4(A), R2(A), C2, R3(C), R4(A), C4, W3(C), W3(A), C3
- R3(C), R1(C), R3(A), W2(B), W2(A), W4(A), C2, R1(C), W4(B), C3, C4, C1
- W1(C), W2(C), R2(C), C2, W1(C), R4(B), W4(A), R3(B), R3(C), C4, R1(B), R3(A), C1, W3(C), C3
- R1(C), R1(B), R2(B), R3(C), W4(B), W4(A), C1, C4, R2(C), R3(B), W2(C), C2, R3(A), W3(A), R3(A), C3
- W2(C), R1(B), R2(B), C2, W3(A), R3(C), R1(B), W1(C), R1(B), R1(C), C1, W3(A), C3
- W3(A), W3(B), R2(B), R2(C), R3(B), C3, W2(A), R1(B), W2(A), C2, W1(A), W1(B), R1(C), C1
- R2(A), W3(A), W2(A), R3(B), W1(C), W1(A), C2, C1, C3
- R1(C), R3(A), R1(A), W3(A), C3, R2(C), R1(C), W1(C), R2(B), R2(A), C2, C1
Post your solution in a file named hw10.txt in the Assignment10 folder of your repository.