Which components manage deadlocks in DB2?

Locking services are provided by Locking services component known as “Internal Resource Lock Manager” (IRLM) and manages concurrency issues and deadlocks.

In IBM Db2, the Deadlock Detector is responsible for managing deadlocks. The Deadlock Detector is a component of the Db2 system that monitors for deadlock situations and takes corrective action when a deadlock is detected.

When a deadlock is detected, the Deadlock Detector selects a victim (a process or transaction) to be rolled back, allowing the other transaction involved in the deadlock to proceed. The process of selecting a victim and rolling back the transaction is known as deadlock resolution.

So, the correct answer to the question “Which components manage deadlocks in DB2?” would be the Deadlock Detector.