Oracle Performance Firefighting
by Craig Shallahamer

Get the book here



Craig Shallahamer's Blog

You were brought to this page based on an internet search and as a free service to Oracle DBAs.

The text below is an except from the book, Oracle Performance Firefighting, written by Craig Shallahamer of OraPub, Inc. Figures and tables are not included on this page, only their reference.
To order the book in either print or PDF form, click here.


©2009, 2010 by Craig Shallahamer. This is copyrighted material.
Please—Out of respect for those involved in the creation of the book and also for their familes, we ask you to respect the copyright both in intent and deed. Thank you.

-------------------------------

I then wanted to know how many trace files were created during the 60-second interval. The 58 trace files were created and stored in the /tmp directory. All files with a suffix of .trc and SQL statements with an associated client identifier of WLC_1 were consolidated into a single trace file named WLC_1.trc. Specifying the client identifier was redundant, but I wanted to show the capability.

The tkprof utility was invoked, and the formatted file traceout.txt was created and does indeed exist!

The preceding trace file snippet is what we would expect, with one exception. It does contain the standard trace information about CPU consumption and block activity, and it also contains wait event data including the average wait times. As discussed previously, IO-related average wait times are very useful in understanding Oracle's interaction with the IO subsystem. What is missing though is bind variable details. The SQL statement clearly shows bind variables are being used (and they are system-generated), but notice there are no references to the actual bind variables. When multiple trace files are consolidated, don't expect to see the individual bind variables. To get this level of detail, you'll need to look at the trace file yourself or use another tool.

©2009, 2010 by Craig Shallahamer. This is copyrighted material.
Please—Out of respect for those involved in the creation of the book and also for their familes, we ask you to respect the copyright both in intent and deed. Thank you.


Know what's important before it's too late!

OraPub's
Performance Training

is like no other...





More Class Pics...
Get student testimonials!