0
1.7kviews
Explain the deadlock
written 8.4 years ago by | • modified 8.4 years ago |
Mumbai University > Information Technology > Sem 3 > Database Management System
Marks: 2 M
Year: Dec 2013
ADD COMMENT
EDIT
1 Answer
written 8.4 years ago by | • modified 8.4 years ago |
Mumbai University > Information Technology > Sem 3 > Database Management System
Marks: 2 M
Year: Dec 2013
written 8.4 years ago by |
Two main ways to deal with deadlock:
a. Prevent it in the first place by giving each transaction exclusive rights to acquire all locks needed before proceeding.
b. Allow the deadlock to occur, and then break it by aborting one of the transactions.