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.

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

This package combines many of the ways we have traditionally traced Oracle processes, but extends it to meet modern architecture challenges. DBMS_MONITOR allows for the creation of trace files, including bind variables, SQL, and wait event details. Additionally, it collects v$sesstat and v$sess_time_model-based statistics. DBMS_MONITOR is a very flexible and nicely designed package that eventually every DBA will use.

Overhead on the database server is always a concern during data collection. Vendors go to great lengths to reduce both the real and perceived impact of their data collection. Based on my experience, DBMS_MONITOR tracing places no more load on the database server than traditional tracing, and I have been unable to detect a noticeable load increase when gathering statistics. I suspect the no-load statistics collection is because Oracle's kernel code instrumentation and statistical sampling (see the "Active Session History" section a little later in this chapter) is already in place and working, regardless of statistics being recorded. So any additional load would simply be the statistics being updated in memory and their associated x$ tables.

When working on a very specific and well-defined performance problem, our training and our success have taught us to focus on a specific Oracle session. In fact, if you understand what led up to DBMS_MONITOR, you can see that the focus has always been on attaching to a specific end user's server process. With a complex architecture, even when using DBMS_MONITOR, this may still not be possible.

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