Skip to Content
SQL Advanced: Queries That Hold Up Under Load
Advanced
0 likes
Courses
SQL Advanced: Queries That Hold Up Under Load

Check Yourself: Concurrency

Five scenario questions on bloat, vacuum, lost updates, deadlocks and lock timeouts. If you miss more than one, reread the lessons in this section.

Course content

Sign in to save your progress.

Course Home
4. The log shows deadlock detected. One transaction updates the pen row and then the mug row, and another updates the mug row and then the pen row. What is the fix?
5. A migration needs ACCESS EXCLUSIVE on a busy table, and a long report holds a lock on it. What keeps the whole application from stalling behind the migration?

About

Five scenario questions on bloat, vacuum, lost updates, deadlocks and lock timeouts. If you miss more than one, reread the lessons in this section.

Duration
5 min
Last update
09/22/2026
Was this helpful?
​ 0 ​ 0

Comments (0)

Sign in to comment

No comments yet.