dynamic script to kill locking/blocking session
Hi,
We are getting locks in database and blocking sessions increasing rapidly to 200+, and we cannot kill all blocking sessions.
We have reported the issue to app team but they are unable to fix that.
Now, as a DBA we are following
Detecting Blocking Sessions in RAC and non-RAC (Enqueue Locks) Environments (Doc ID 398519.1), but seems impossible to kill session 1 by one.
Can anyone pls share a script to generate kill commands for all blocking session?