I had a user that forgot to log out and he locked 2-3 other jobs for about 11 hours. I would like to setup something in oem grid control to monitor this.
How can i setup a rule that if a user is blocking for more than 20 minutes, to send me an e-mail about this? Im on 10.2.0.3.
You can setup the Oracle Resource Manager to kill the session when it blocks another session for more than specific ammount of time.
About the query, look at v$session
Bookmarks