Call (800) 766-1884 for Oracle support & training
Free Oracle Tips


Oracle Consulting Support
Oracle Upgrades
Use New Oracle Features
Oracle Replication Support
Oracle Training
Remote Oracle DBA
System Documentation
Oracle Tips
Oracle Performance
 

Free Oracle Tips


 

HTML Text

BC Oracle tuning

Oracle training

Oracle support

Remote Oracle

 

 

   
  Oracle Tips by Burleson

Tracing a user’s session 

The trace file that was produced is over 40 million lines long.  To gain a better understanding of what this session, some basic analysis can be performed using simple UNIX operating system commands.

The first step is to determine how many of those events were WAIT events rather than PARSE, EXEC or FETCH events were.  There were 19,677 WAIT events, over 13 million EXEC events, 0 PARSE events and over 13 million FETCH events.  In fact, the number of FETCH events matches the number of EXEC events.  The 0 parses probably reflect the fact that all the SQL statements being used by this process had already been parsed before tracing began. However, it is a good indicator that the problems are not due to excessive parsing.  Now it is time to determine what the primary WAIT events were. 

Opening the trace file in a text editor is probably not a good idea since the file is roughly 2 GBs and it will either crash the editor or tie up the session for a long time.  A better way would be to cat the file with grep and head to look at the first handful of events in order to get a feel for the types of WAIT events. 

The above book excerpt is from:

Oracle Wait Event Tuning

High Performance with Wait Event Iinterface Analysis 

ISBN 0-9745993-7-9  

Stephen Andert 

http://www.rampant-books.com/book_2004_2_wait_tuning.htm

  
 

Oracle performance tuning software 
 
 
 
 

Oracle performance tuning book

 

 
 
 
Oracle performance Tuning 10g reference poster
 
 
 
Oracle training in Linux commands
 
Oracle training Excel
 
Oracle training & performance tuning books
 

 

   

Copyright © 1996 -  2011 by Burleson Enterprises. All rights reserved.

Oracle® is the registered trademark of Oracle Corporation.