Database Tuning (MOSC)

MOSC Banner

dynamic script to kill locking/blocking session

edited May 5, 2016 5:01AM in Database Tuning (MOSC) 6 commentsAnswered

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?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center