In the database, deadlock is a state where two or more transactions are waiting for one another to give up locks.
Four necessary conditions for deadlock occurrence are - Mutual Exclusion, Hold and Wait, No Preemption, and Circular Wait.
Deadlock Ignorance, Deadlock Prevention, Deadlock Avoidance, and Deadlock Detection are four main approaches to handle deadlocks.
Check more at: https://www.youtube.com/watch?v=IlYB4a9OAXg&feature=youtu.be
Four necessary conditions for deadlock occurrence are - Mutual Exclusion, Hold and Wait, No Preemption, and Circular Wait.
Deadlock Ignorance, Deadlock Prevention, Deadlock Avoidance, and Deadlock Detection are four main approaches to handle deadlocks.
Check more at: https://www.youtube.com/watch?v=IlYB4a9OAXg&feature=youtu.be
Category
📚
Learning