Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\online_help\tdppt\tdppt_sqlid004.htm
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <title>Viewing Details of SQL Statements</title> <meta name="generator" content="Oracle DARB XHTML Converter (Mode = ohj/ohw) - Version 5.1.1 Build 005" /> <meta name="date" content="2009-05-27T15:13:2Z" /> <meta name="robots" content="noarchive" /> <meta name="doctitle" content="Viewing Details of SQL Statements" /> <meta name="relnum" content="11g Release 2 (11.2)" /> <meta name="partnum" content="E10822-01" /> <link rel="copyright" href="./dcommon/html/cpyr.htm" title="Copyright" type="text/html" /> <link rel="stylesheet" href="./dcommon/css/blafdoc.css" title="Oracle BLAFDoc" type="text/css" /> <link rel="contents" href="toc.htm" title="Contents" type="text/html" /> <link rel="prev" href="tdppt_sqlid003.htm" title="Previous" type="text/html" /> <link rel="next" href="tdppt_sqlid005.htm" title="Next" type="text/html" /> <script src="./callback.js" type="text/javascript"></script> <noscript>Your browser does not support JavaScript. This help page requires JavaScript to render correctly.</noscript> </head> <body> <div class="zz-skip-header"><a href="#BEGIN">Skip Headers</a></div> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <col width="86%" /> <col width="*" /> <tr valign="bottom"> <td align="left"></td> <td align="center"><a href="tdppt_sqlid003.htm"><img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="tdppt_sqlid005.htm"><img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> <p><a id="CHDCAJCB" name="CHDCAJCB"></a><a id="TDPPT144" name="TDPPT144"></a></p> <div class="sect2"><!-- infolevel="all" infotype="General" --> <h1>Viewing Details of SQL Statements</h1> <a name="BEGIN" id="BEGIN"></a> <p>The Top SQL section of the Top Activity page displays the SQL statements<a id="sthref245" name="sthref245"></a> executed within the selected 5-minute interval in descending order based on their resource consumption. The SQL statement at the top of this table represents the most resource-intensive SQL statement during that time period, followed by the second most resource-intensive SQL statement, and so on.</p> <p class="orderedlisttitle">To view details of SQL statements: </p> <ol> <li> <p>From the Database Home page, click <span class="bold">Performance</span>.</p> <p>The Performance page appears.</p> </li> <li> <p>Under Additional Monitoring Links, click <img src="shortcut.png" alt="callback" border="0" /><a href="javascript:void(0);" onclick="redirectEMpage('TOP_ACTIVITY');"><span class="bold">Top Activity</span></a>.</p> <p>The Top Activity page<a id="sthref247" name="sthref247"></a> appears.</p> </li> <li> <p>In the Top SQL section, click the <span class="bold">SQL ID</span> link of the SQL statement.</p> <p>The SQL Details page for the selected SQL statement appears.</p> </li> <li> <p>To view SQL details for a longer period, select <span class="bold">Historical</span> from the View Data list.</p> <p>You can now view SQL details in the past, up to the duration defined by the AWR retention period.</p> </li> <li> <p>In the Text section, review the SQL text for the SQL statement.</p> <p>The Text section<a id="sthref248" name="sthref248"></a> contains the SQL text for the selected SQL statement. Note that if only part of the SQL statement is displayed, then a plus sign (<code>+</code>) icon appears next to the Text heading. To view the SQL text for the entire SQL statement, click the plus sign (<span class="bold">+</span>) icon.</p> </li> <li> <p>In the Plan Hash Values list in the Details section, do one of the following:</p> <ul> <li> <p>If the SQL statement has multiple plans, then select <span class="bold">All</span> to show SQL details for all plans.</p> </li> <li> <p>Select a particular plan to display SQL details for this plan only.</p> </li> </ul> </li> <li> <p>View the subpages available on the SQL Details page to display additional information about the SQL statement, as described in the following sections:</p> <ul> <li> <p><a href="tdppt_sqlid005.htm#CHDGCGBD">Viewing SQL Statistics</a></p> </li> <li> <p><a href="tdppt_sqlid012.htm#CHDHAFDH">Viewing Session Activity</a></p> </li> <li> <p><a href="tdppt_sqlid013.htm#CHDJIHHD">Viewing the SQL Execution Plan</a></p> </li> <li> <p><a href="tdppt_sqlid014.htm#CHDEBJCH">Viewing the Plan Control</a></p> </li> <li> <p><a href="tdppt_sqlid015.htm#CHDCEBDH">Viewing the Tuning History</a></p> </li> </ul> </li> <li> <p>If the SQL statement is a high-load SQL statement, then tune it as described in <a href="tdppt_sqltune.htm#CAEBFCFJ">Tuning SQL Statements</a>.</p> </li> </ol> <div class="helpinfonotealso"> <h2>Related Topics</h2> <p><a href="tdppt_sqlid002.htm#BABECDJG">Identifying High-Load SQL Statements Using Top SQL</a></p> </div> <!-- Start Footer --> <div class="footer"> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <col width="86%" /> <col width="*" /> <tr> <td align="left"><span class="copyrightlogo">Copyright © 2007, 2009, Oracle and/or its affiliates. All rights reserved.</span><br /> <a href="./dcommon/html/cpyr.htm"><span class="copyrightlogo">Legal Notices</span></a></td> <td align="center"><a href="tdppt_sqlid003.htm"><img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="tdppt_sqlid005.htm"><img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> </div> <!-- class="footer" --></div> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de