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.
PleaseOut 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.
-------------------------------
At this point, you may have prepared a trace file for analysis, as well as possibly performance statistics. Now it's your turn to take this information and perform a session-level response-time analysis.
Using DBMS_MONITOR the first few times can be confusing. There is a lot involved to achieve the final reports. To help in this transition, I have included a real-life example here. To get the most from this example, remember the steps outlined in the previous section. You will see the spooled output follows these steps precisely. I have divided the key steps and made comments following each snippet.
The session identification criteria are the same as the logon trigger shown in Figure 5-20. In fact, the results are based on setting the client identifier using that specific logon trigger. The group of activity I am interested in has the session's client identifier set to WLC_1. Multiple sessions do meet the criteria, and Oracle is setup in a multithreaded architecture. This ensured multiple trace files would be produced, which makes for a more interesting (and trust-building) example.
©2009, 2010 by Craig Shallahamer. This is copyrighted material.
PleaseOut 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.
|