Can someone give me the SQL statement to show if there are any blocking database locks and if so - which user is locking the Database?
Show users waiting for a lock, the locker and the SQL-Command they are waiting for a lock, wait_class, seconds_in_wait, the osuser, schema and PIDs are shown as well. The idea is to show in real time how long a blockade since start until just,
Thanks in Advance