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.

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

While the logon trigger sets sessions with their Oracle username of OE or IN to WLC_2, I will not be tracing or gathering WLC_2 activity statistics. Setting the client identifier does not imply you are collecting data.

Based on this report, I believe the client identifier is being set correctly, and it's time to enable both tracing and statistics collection.

This code snippet turns on tracing, statistics collection, and sleeps for my specified data collection interval of 60 seconds. Since I am using only the client identifier to screen sessions of interest, I enabled statistics collection using the client_id_stat_enable procedure. I want the trace files to include both wait event details and bind variables (which you can lose when consolidating trace files) based on the client identifier. Therefore, I enabled tracing using the client_id_trace_enable procedure.

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