Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Monitoring occurence of snaphot too old

RE: Monitoring occurence of snaphot too old

From: Post, Ethan <Ethan.Post_at_ps.net>
Date: Fri, 02 Aug 2002 11:12:37 -0800
Message-ID: <F001.004AA550.20020802111237@fatcity.com>


Use a SERVERERROR trigger to capture the ORA-01555 event and log it somewhere, I find the alert log is easiest. I have a script that picks up custom events written to the alert log and notifies me about them. Other than that follow the advice in other posts and try to avoid them all together. If you are below 9i then get rid of OPTIMAL on all your rollback segments so they never shrink and monitor them. Shrink them manually when system use is very low.

create or replace trigger tk$servererror after servererror on database declare

   mysession v$session%rowtype;
begin

Ethan Post
perotdba (AIM), epost1 (Yahoo)


-----Original Message-----
[mailto:Mohammed.Ahsanuddin_at_VerizonWireless.com] Sent: Friday, August 02, 2002 11:14 AM
To: Multiple recipients of list ORACLE-L

Dear List members,

I was wondering if there is a way to monitor the database and tell if there is a possiblility of snapshot too old error occurence.

Any input is highly appreciated..

Thanks

Mohammed Ahsanuddin
Oracle DBA

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: Mohammed.Ahsanuddin_at_VerizonWireless.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Post, Ethan
  INET: Ethan.Post_at_ps.net

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (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 Fri Aug 02 2002 - 14:12:37 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US