All jobs / Database administrator / Performance

Database administrator interview question · 1–3 years

The checkout page has been timing out for five minutes and the on-call is asking for help.

Dozens of sessions are waiting and the app has slowed to a crawl. How do you find the culprit?

The strongest answer

Query the lock and session views to find the head of the blocking chain, see what that session is doing and who owns it, then decide whether to wait, contact them or kill it

Why it works

Exactly — find the root blocker, understand it, then act with a decision rather than a reflex.

What a good answer covers

Answers that fall short

Who gets asked this

More Performance questions