Question: Database Systems: The Complete Book (2nd Edition) chapter19 Exercise19.2.5 One approach to avoiding deadlocks is to require each transaction to announce all the locks it
Database Systems: The Complete Book (2nd Edition)
chapter19
Exercise19.2.5
One approach to avoiding deadlocks is to require each transaction to announce all the locks it wants at the beginning, and to either grant all those locks or deny them all and make the transaction wait. Does this approach avoid deadlocks due to locking? Either explain why, or give an example of a deadlock that can arise.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
