Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 E-mail Us
 Oracle Articles
New Oracle Articles

 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog

 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Oracle Support

 SQL Tuning

 Oracle UNIX
 Oracle Linux
 Remote s
 Remote plans
 Application Server

 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S


 Consulting Staff
 Consulting Prices
 Help Wanted!


 Oracle Posters
 Oracle Books

 Oracle Scripts

Don Burleson Blog 









Oracle dbms_sqltune

Oracle Database Tips by Donald Burleson

Using Oracle dbms_sqltune

These AWR tables feed data to the totally reworked Enterprise Manager (EM) to produce stunning time-series displays. AWR data is used by the Automatic Database Diagnostic Monitor (ADDM) and the SQL Tuning Advisor or by using the dbms_sqltune package to make intelligent performance recommendations.

Instead of running complex scripts to track database performance over time, the Oracle10g DBA now has detailed time-series performance data immediately available for detailed analysis. These industrial strength AWR tables are a blessing for the Oracle tuning DBA. Oracle10g has new DBMS packages, such as the Oracle dbms_sqltune and dbms_mview.explain_rewrite packages, that read the wrh$ tables and carry out sophisticated performance analysis. While not artificial intelligence in the truest sense, these sophisticated tools help simplify the complex task of Oracle tuning.

For tuning multiple SQL statements, a SQL Tuning Set (STS) is created. An STS is nothing but a database object to store SQL statements with their execution context. STS can be created from a command line or the new and improvised Enterprise Manager. For the hands-on DBA, SQL Tuning Sets can be managed with Oracle dbms_sqltune package procedures.

The extra-cost Database Tuning Pack is required to access SQL Tuning Advisor PL/SQL Packages located in $ORACLE_HOME/rdbms/admin.

dbms_advisor package with "SQL Tuning Advisor" as the
value to the "advisor_name" parameter.

dbms_sqltune package

For more dbms_sqltune tips see:

Advanced Oracle Utilities: The Definitive Reference by Rampant TechPress is written by top Oracle database experts (Bert Scalzo,  Donald Burleson, and Steve Callan). 

Buy direct from the publisher and save 30%!




Oracle Training at Sea
oracle dba poster

Follow us on Twitter 
Oracle performance tuning software 
Oracle Linux poster


Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.