Question 5 of 10Pro Only

A critical application is experiencing timeouts due to blocking in the database. How do you identify the blocking chain, determine the root cause, and resolve it without disrupting other users?

Sample answer preview

Blocking occurs when one session holds a lock that another session needs, causing the waiting session to be blocked until the lock is released. Unlike deadlocks, blocking does not resolve automatically and can cascade into long chains affecting many sessions.

blocking chainhead blockersp_WhoIsActivepg_blocking_pidslock timeoutidle_in_transaction_session_timeout

Unlock the full answer

Get the complete model answer, key points, common pitfalls, and access to 9+ more Database Administrator interview questions.

Upgrade to Pro

Starting at $19/month • Cancel anytime