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 


 

 

 


 

Donald K. Burleson

 

Oracle and Expert Systems Technology


Oracle -
Standard Oracle Log and Trace Files

As we know from previous lessons, the location of Oracle's database trace and dump files are determined by parameters within the init.ora file.  The easiest way to know the location of Oracle's trace and dump files is to use the server manager utility.  As we see below, server manager can be used to display all of the dump parameters.  These same parameters are used in the init.ora file to define the log and trace options.

SVRMGR> show parameters dump 

NAME                                TYPE    VALUE
----------------------------------- ------- ------------------------------
background_core_dump                string  full                         
background_dump_dest                string  ?/rdbms/log
core_dump_dest                      string  ?/dbs
max_dump_file_size                  string  10240                        
shadow_core_dump                    string  full                          user_dump_dest                      string  ?/rdbms/log

Note that the parameters that are suffixed with "dest" tell us where the files are located. In the example above we see that the background_dump_dest and the user_dump_dest are both set to $ORACLE_HOME/rdbms/log.  If we go to this directory, we will find a host of different alert and trace files:

dilbert>cd $ORACLE_HOME/rdbms/log

dilbert> ls
alert_fred.log
reco_34326.trc
smon_57560.trc
snp1_54580.trc
ora_58718.trc
dbwr_38406.trc
lgwr_36106.trc
pmon_52070.trc

Also note that the Oracle alert log is located in the background_dump_dest directory.  Here we see the main log for the fred database, called alert_fred.log.  The alert log will contain all relevant Oracle messages, including startup and shutdown messages, as well as redo log switches and serious errors.

For each trace file in the directory, we see that they are prefixed by the main process that spawned the error.  We see traces for the process monitor process (pmon), the Recoverer process (reco), the log writer (lgwr), the database writer (dbwr), and the system monitor process (smon).  Generic Oracle trace file are always prefixed with "ora".


If you like Oracle tuning, see the book "Oracle Tuning: The Definitive Reference", with 950 pages of tuning tips and scripts. 

You can buy it direct from the publisher for 30%-off and get instant access to the code depot of Oracle tuning scripts.  Click here for more books by Donald K. Burleson.

 

 

��  
 
 
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.