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.
-------------------------------
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.
The second parameter in rtsysx.sql is associated with finding similar SQL statements. Similar SQL statements are exactly the same, except for the filtering and join conditions in the where clause. Oracle considers these unique statements, even though they are very similar.
©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.
|