Debug database timeouts, deadlocks, connection pool exhaustion, connection leaks, lock waits, transaction contention, or connection storm behavior using error messages, DB metrics, pool config, and lock/wait evidence. Use when the symptom is connection- or lock-related rather than a single slow query. Produces a connection/locking diagnosis with a likely root cause and safe mitigation options.