Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\online_help\ratug\spa_intro.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>Introduction to SQL Performance Analyzer</title> <meta name="generator" content="Oracle DARB XHTML Converter (Mode = ohj/ohw) - Version 5.1.1 Build 005" /> <meta name="date" content="2009-06-04T10:50:31Z" /> <meta name="robots" content="noarchive" /> <meta name="doctitle" content=" Introduction to SQL Performance Analyzer" /> <meta name="relnum" content="11g Release 2 (11.2)" /> <meta name="partnum" content="E12254-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="dbr_analyze008.htm" title="Previous" type="text/html" /> <link rel="next" href="spa_intro001.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="dbr_analyze008.htm"><img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="spa_intro001.htm"><img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> <p><a id="CHDGEIIA" name="CHDGEIIA"></a><a id="RATUG166" name="RATUG166"></a></p> <h1>Introduction to SQL Performance Analyzer</h1> <p><a name="BEGIN" id="BEGIN"></a></p> <p>You can run <a id="sthref33" name="sthref33"></a>SQL Performance Analyzer on a production system or a test system that closely resembles the production system. Testing a system change on a production system will impact the system's throughput because SQL Performance Analyzer must execute the SQL statements that you are testing. Any global changes made on the system to test the performance effect may also affect other users of the system. If the system change does not impact many sessions or SQL statements, then running SQL Performance Analyzer on the production system may be acceptable. However, for systemwide changes—such as a database upgrade—using a production system is not recommended. Instead, consider running SQL Performance Analyzer on a separate test system so that you can test the effects of the system change without affecting the production system. Using a test system also ensures that other workloads running on the production system will not affect the analysis performed by SQL Performance Analyzer. Running SQL Performance Analyzer on a test system is the recommended approach and the methodology described here. If you choose to run the SQL Performance Analyzer on the production system, then substitute the production system for the test system where applicable.</p> <p><a id="RATUG273" name="RATUG273"></a></p> <p class="subhead2">To analyze the SQL performance effect of system changes using <a id="sthref34" name="sthref34"></a><a id="sthref35" name="sthref35"></a>SQL Performance Analyzer:</p> <ol> <li> <p>Capture the SQL workload that you intend to analyze and store it in a SQL tuning set, as described in <a href="spa_intro001.htm#CHDFCBDC">"Capturing the SQL Workload"</a>.</p> </li> <li> <p>If you plan to use a test system separate from your production system, then perform the following steps:</p> <ol> <li> <p>Set up the test system to match the production environment as closely as possible.</p> </li> <li> <p>Transport the SQL tuning set to the test system.</p> </li> </ol> <p>For more information, see <a href="spa_intro002.htm#CHDCADGG">"Setting Up the Test System"</a>.</p> </li> <li> <p>On the test system, create a SQL Performance Analyzer task, as described in <a href="spa_intro003.htm#CHDGHFGI">"Creating a SQL Performance Analyzer Task"</a>.</p> </li> <li> <p>Build the pre-change SQL trial by executing the SQL statements stored in the SQL tuning set, as described in <a href="spa_intro004.htm#CHDBDHJF">"Measuring the Pre-Change SQL Performance"</a></p> </li> <li> <p>Perform the system change, as described in <a href="spa_intro005.htm#CHDBABFE">"Making a System Change"</a></p> </li> <li><a id="CHDBJBIC" name="CHDBJBIC"></a> <p>Build the post-change SQL trial by re-executing the SQL statements in the SQL tuning set on the post-change test system, as described in <a href="spa_intro006.htm#CHDBACHF">"Measuring the Post-Change SQL Performance"</a></p> </li> <li> <p>Compare and analyze the pre-change and post-change versions of performance data, and generate a report to identify the SQL statements that have improved, remained unchanged, or regressed after the system change, as described in <a href="spa_intro007.htm#CHDFFEBH">"Comparing Performance Measurements"</a></p> </li> <li><a id="CHDEGIFG" name="CHDEGIFG"></a> <p>Tune any regressed SQL statements that are identified, as described in <a href="spa_intro008.htm#CHDFJJHD">"Fixing Regressed SQL Statements"</a>.</p> </li> <li> <p>Ensure that the performance of the tuned SQL statements is acceptable by repeating steps <a href="#CHDBJBIC">6</a> through <a href="#CHDEGIFG">8</a> until your performance goals are met.</p> <p>For each comparison, you can use any previous SQL trial as the pre-change SQL trial and the current SQL trial as the post-change SQL trial. For example, you may want to compare the first SQL trial to the current SQL trial to assess the total change, or you can compare the most recent SQL trial to the current SQL trial to assess just the most recent change.</p> </li> </ol> <div class="helpinfonotealso"> <h2>Related Topics</h2> <p><a href="spa_intro001.htm#CHDFCBDC">Capturing the SQL Workload</a></p> <p><a href="spa_intro002.htm#CHDCADGG">Setting Up the Test System</a></p> <p><a href="spa_intro003.htm#CHDGHFGI">Creating a SQL Performance Analyzer Task</a></p> <p><a href="spa_intro004.htm#CHDBDHJF">Measuring the Pre-Change SQL Performance</a></p> <p><a href="spa_intro005.htm#CHDBABFE">Making a System Change</a></p> <p><a href="spa_intro006.htm#CHDBACHF">Measuring the Post-Change SQL Performance</a></p> <p><a href="spa_intro007.htm#CHDFFEBH">Comparing Performance Measurements</a></p> <p><a href="spa_intro008.htm#CHDFJJHD">Fixing Regressed SQL Statements</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 © 2008, 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="dbr_analyze008.htm"><img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="spa_intro001.htm"><img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> </div> <!-- class="footer" --> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de