Chapter 18: Problem 18
How does index locking resolve the phantom problem?
Chapter 18: Problem 18
How does index locking resolve the phantom problem?
All the tools & learning materials you need for study success - in one app.
Get started for freeWhen are latches used?
What are some variations of the two-phase locking protocol? Why is strict or rigorous two-phase locking often preferred?
Describe the wait-die and wound-wait protocols for deadlock prevention.
The MGL protocol states that a transaction \(\mathrm{T}\) can unlock a node \(\mathrm{N}\), only if none of the children of node \(\mathrm{N}\) are still locked by transaction \(\mathrm{T}\). Show that without this condition, the MGL protocol would be incorrect.
Compare binary locks to exclusive/shared locks. Why is the latter type of locks preferable?
What do you think about this solution?
We value your feedback to improve our textbook solutions.