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.

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

As discussed earlier in this chapter, modern Oracle architectures make linking a user's activity to an Oracle server process challenging. ASH helps in this endeavor because it stores not only the session identifier and serial number, but also the client identifier, the Oracle username, program, module, and action!

Let's not forget that ASH is built directly into Oracle's kernel, as opposed to a third-party data collection facility that either samples from Oracle's SGA or samples sessions through the SQL interface. While both approaches can work well, keeping the collection running constantly requires a professional-grade product. I have personally spent a considerable amount of time designing and building data collection tools. It is extremely difficult to perform a low-impact collection on a large system while supplying accurate data. Most third-party vendors spend a lot of time and money on their collection facilities. What anyone who has tried to create collectors quickly learns is that what initially seems like a few simple SQL queries turns out to be a daunting technical challenge. This is one reason why performance products seem relatively expensive.

ASH is also configurable. Depending on your Oracle release, there are around a dozen hidden ASH-related instance parameters. One in particular, _ash_sampling_inteval, controls how often ASH samples. The default is set to once each second, but this can be changed to increase statistical accuracy or to decrease collection impact.

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