S
X
I
S
true
false falseX false false false
I
false
false trueFigure 16.23. Lock-compatibility matrix.
a.Show that, if all transactions lock the data that they access in the corresponding mode, then two-phase locking ensures serializability.
b.Show
that the inclusion of increment mode locks allows for increased concurrency. (Hint Consider check-clearing transactions in our bank exam- ple.)
Answer:The proof is in Korth, Locking Primitives
in a Database System,”
JACM Vol. 30, 1983.
Share with your friends: