Question: Consider the following concurrency control protocols: 2 PL , Strict 2 PL , Conservative 2 PL , Timestamp without the Thomas Write Rule, Times tamp

Consider the following concurrency control protocols: 2PL, Strict 2PL, Conservative 2PL, Timestamp without the Thomas Write Rule, Times tamp with the Thomas Write Rule, and Multiversion.
a. For each of the following schedules, state which of these protocols allows itthat is, allows the actions to occur in exactly the order shown.
b. Give reasons for at least two "No" answers if they were found for each concurrency technique.
(Assume that the timestamp of transaction Ti is 'i.)
1. R1(X), R2(X), W1(X), W2(X)
2. W1(X), R2(Y), R1(Y), R2(X)
3. R1(X), R1(Y), W1(X),R2(Y), W3(Y), W1(X), R2(Y)
4. R1(X), W2(X), W1(X), T2:Abort, T1:Commit
5. R1(X), R2(Y), W3(X), R2(X), R1(Y)
6. R1(X), W2(X), W1(X), T2:Commit, T1:Commit
7. W1(X), R2(X), W1(X), T2:Commit, T1:Commit
8. W1(X), R2(X), W1(X), T2:Commit, T1:Abort
9. W1(X), R2(X), W1(X), T2:Abort, T1:Commit
10. R2(X), W3(X), T3:Commit, W1(Y), T1:Commit, R2(Y), W2(Z), T2:Commit
11. R1(X), W2(X), T2:Commit, W1(X), T1:Commit, R3(X), T3:Commit
12. R1(X), W2(X), W1(X), R3(X), T1:Commit, T2:Commit, T3:Commit
Answer ( a) by filling the table below:
2PL S-2PL C-2PL TSwo/Twr TSw/Twr Multiv
1(example) No No No No No No
2
3
4
5
6
7
8
9
10
11
12
Note the following abbreviations. S-2PL: Strict 2PL; C-2PL: Conservative 2PL; TS wo/ Twr: Timestamp without Thomas Write Rule; TSw/ Twr : Timestamp withThomas Write Rule; MultiversionTSo :Multiv.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!