40 Chapter 15 Concurrency Control
15.7 (Deadlock prevention)
plain why this may be the case.
. .
.2
15.8 (TSO Protocol)
a. Outline the TSO protocol for reads
. .
.2
b. Outline the TSO protocol for writes (including the Thomas write rule)
. .
.2
+ 1
c. Outline how to modify the TSO protocol to guarantee recoverability and
cascade freedom.
. .
.2
15.9 The Oracle database implements a special concurrency control protocol for
read-only transactions, whereby a read-only transaction sees a view of the
15.10 In multigranularity locking, give the compatibility matrix for the different lock
15.11 Show that given any schedule generated by two-phase locking, the transaction
15.12 Consider the validation based concurrency control protocol you have studied
(which is also known as the optimistic concurrency control protocol). Outline
the checks that a transaction must perform during validation.
. .
.6
15.13 Consider multi-version timestamp ordering based concurrency control. Give
conditions under which a version will definitely not be used again (and can
thus be garbage collected).
. .
.4
15.14 Recall the tree locking protocol: the first lock can be on any node of the tree,
and subsequently nodes can be locked only if the parent is locked. Locking is
not required to be two phase, but still guarantees conflict serializability.