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.

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

To help in analyzing the application, the report captures the SQL directly affecting the response times and shows its resource consumption. As Figure 2-16 shows, only the SQL identifier and key performance attributes appear in the report. For performance reasons, the actual SQL statement text is not collected.

During the reporting interval, every few seconds, the currently running SQL statement's identifier (SQL_ID) is captured from v$session. This part of rtsysx.sql provides the SQL statement's interval activity. For example, if SQL statement 123 were first captured and had already consumed 10,000 Oracle blocks, and during the last probe, it had consumed 15,000 blocks, this probe report would show the statement consuming 5,000 blocks during the report interval.

The SQL Activity Details During Probe section in Figure 2-16 captured a few statements. IO read queue time dominates this ORTA; therefore, locating physical IO SQL is extremely important to complete our analysis. The first two statements in this section have the largest number of physical reads! It is very common for this simple sampling method to quickly identify the key SQL statements that need special attention.

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