PostgreSQL challenge: unblock a session that freezes the till
No reviews yet
Intermediate
1 h 30 min
1,000 credits
First lab free
Important
Three prohibitions, and the validation checks them: do not restart PostgreSQL, do not stop Nadia's till, do not touch the data. You are superuser: every command can change anything. The challenge does not give the commands, only the documentation pages where to find them. The sandbox lives for three hours.
Tip
A till that waits is not broken: it is waiting for a lock held by another session. First look for who is waiting, then what it is waiting for, then who holds it. The answer is in pg_stat_activity and in a function that says, for a session, which others are blocking it.
postgresql
administration
locks
monitoring
challenge
PostgreSQL challenge: unblock a session that freezes the till · MonPremierLab