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.

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

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.

DBMS_MONITOR is a wonderful Oracle package. While it does not solve all profiling challenges, it is truly a giant leap forward. It's flexibility in purpose and use, and the fact that no additional license is required make it something every Oracle DBA should at least be familiar with.

Some would say instrumentation is the best performance statistics gathering approach, but others would say periodic sampling is the best. After all, nearly all third-party tools rely on polling, which is sampling. Just as Iron Man's Tony Stark would say, "Is it too much to ask for both?" And this is exactly what Oracle has done.

©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!