Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 
 

Managing the Oracle alert log file

Oracle Database Tips by Donald BurlesonOctober 14,  2015


Question:  I'm new to Oracle and I need to understand how to manage the Oracle alert log file.  The Oracle alert log has many messages, and how do I know what message are important?  Can I send an e-mail when a important message goes into the Oracle alert log?  Can I truncate the alert log file?

Answer:  Yes, the Oracle alert log needs to be managed, and there are several common alert log tasks:

- Periodically archive and re-initialize the alert log file.  The alert log can grow very large, and after a week many of the messages are of no value.  You can remove the alert log file, and Oracle will automatically re-create it.

- Scan the alert log for errors and send alerts - You need top schedule a dbms_scheduler job to scan for selected errors and trigger an e-mail alert when found.  See my script to monitor the alert log.

Also note that you can write your own custom messages to the alert log file, see Writing to the Oracle Alert Log and x$dbgalertext.

And note that if you define the alert log file as an external table, you can manage the alert log file contents with standard SQL statements.  See Extract alert log messages with SQL and in 11g using x$dbgalertext.

See these notes for details on managing the alert log file:

 

 

 

 

 


 

 

��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster
 
 
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.