Question: In deadlock avoidance, the transaction must obtain all the locks it needs before it can be executed. This technique avoids rollback of conflicting transactions by
In deadlock avoidance, the transaction must obtain all the locks it needs before it can be executed. This technique avoids rollback of conflicting transactions by requiring that locks be obtained in succession. However, the serial lock assignment required in deadlock avoidance increases the response times.
What is the best deadlock control method and why? Provide an example in your discussion.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
