Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Monitoring SQL without where clause
Morning All,
Is somebody here monitoring SQL statements which do not have Where clause ??
Couple of times on our DB ( 8.1.7 ), some SQL statements were issued by Application ( bad code ) as well as users without where clause causing HUGE rollback ( almost 400 Million blocks ) and also causing LOCKS some times. When we kill these session(s) , its taking almost 6 to 7 hours to parallel rollback.
Also , can you guys provide me some script to monitor the Rollback segments , like when the rollback usage by session reaches 200 Million blocks, script has to mail me. Basic SQL script should be fine for me.
Thank you,
Madhu Reddy
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Reddy, Madhusudana
INET: [EMAIL PROTECTED]
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Thu Jun 19 2003 - 11:11:32 CDT
![]() |
![]() |