RE: alert log retention

From: Patterson, Joel <jpatterson_at_entint.com>
Date: Mon, 3 Jun 2013 09:36:35 -0400
Message-ID: <C1117B1AA0340645894671E09A7891F7150EAE5927_at_EIHQEXVM2.ei.local>



I have a cron script that renames the alert log every Sunday morning, and keeps 6 weeks worth.

One nice thing about keeping the live alert log small is if you wish you can over time implement some jobs, perhaps via EM that help you see all the alert logs at the same time. I can run a job that reads from an external alert log table on every database and the output is in one file where I can page through.

I modified that though from an idea I found I believe on this list that uses a pipelined function to display the data -- and that function now calls another that filters out noise Like:

'Incremental restore complete of datafile' I have about 20 such statements it skips, so I can scan the data fairly quickly especially on Mondays. Of course you can always just select * from ext_alert_log and get everything. It's a good start in creating an external table as there is only one field, and there is actually a convenient use for it. You just have to make it a convention and put it in every database.

Joel Patterson
Database Administrator
904 928-2790

--

Joel Patterson
Sr. Database Administrator | Enterprise Integration Phone: 904-928-2790 | Fax: 904-733-4916
http://www.entint.com/

http://www.entint.com/

http://www.facebook.com/pages/Enterprise-Integration/212351215444231 http://twitter.com/#!/entint http://www.linkedin.com/company/18276?trk=tyah http://www.youtube.com/user/ValueofIT

This message (and any associated files) is intended only for the use of the addressee and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient, you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company. [v.1.1]

From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Ram Raman Sent: Friday, May 31, 2013 2:01 PM
To: ORACLE-L
Subject: alert log retention

List,
How long do the listers keep their alert log data for? does it vary in production vs dev environments.

Thanks.

--

http://www.freelists.org/webpage/oracle-l

--

http://www.freelists.org/webpage/oracle-l Received on Mon Jun 03 2013 - 15:36:35 CEST

Original text of this message