Oracle Articles, Oracle Tools, Oracle Tips, Database Articles and DBA Tips  

The Largest Online Resource for Oracle Articles, Oracle Tips, Oracle Scripts & Oracle Tools!!


Enter your Email:
 
Navigate at FreeMegaZone Home      Articles      Tools      Jobs      Games      Support      Submit Content      Advertise
Advertise at http://www.articles.freemegazone.com

Advertise at FreeMegaZone

Give tremendous boost to your business by advertising at FreeMegaZone. Contact webmaster@freemegazone.com

 

Rating: *****                                             Rate this article:    

 Author: Burleson

Page: 1 2

Oracle fully automated SQL tuning enables database administrators to use SQL Tuning Set (STS) to test changes to global parameters against a real-world workload. SQL Performance Advisor (SPA) and the automated SQL Plan Management (SPM) facility make life of database administrator easy by establishing an optimal baseline before tuning of individual SQL statements.

Oracle 10g SQL Access Advisor

Oracle 11g SQL Performance Analyzer

Oracle 10g SQL access advisor tests real-world SQL workloads. The SQL Access Advisor recommends a set of materialized views and indexes based on a supplied workload input.

11g SQL Performance Analyzer implements tuning recommendations for any SQL statements that run 3x faster.

Oracle 11g fully Automated SQL Tuning:

In order to setup for fully automated SQL tuning first we must capture representative SQL workloads (SQL tuning sets) and set-up a testing environment. After that SQL Performance analyzer will be used to optimize the environment using STS.

SQL Tuning Sets:

SQL Tuning set, or STS can be defined as a set of problematic SQL statements (or representative workload). STS uses the dbms_sqltune.create_sqlset package.

Environment Setting:

In this step the initialization parameters are changed and performance is tested against a previous release of the CBO or custom experiments can be conducted to determine the effect of environmental changes on your SQL tuning set.

SQL Profiles:

SQL Profiles automatically implement the changes for any statements that execute more then 3x faster. It bypasses the generation of an execution plans for incoming SQL by replacing it with the pre-tuned access plan.

SQL Plan Baseline:

Now the SQL Plan Baseline will be created. The optimizer_capture_sql_plan_baselines initialization parameter can be set to TRUE in order to enable automatic SQL plan capture.

Workload Tests:

The workload is scheduled for execution during low usage periods so that an empirical sample of real-world execution times can be collected and compared using different execution plans from the two SQL tuning sets.  You can run the dbms_sqlpa package or use the OEM SPA Guided Workflow wizard. dbms_sqlpa package helps predict the impact of system environment changes on the performance of a SQL workload. Continued...

Page: 1 2

 More Oracle Articles, Database Articles and DBA Tips
   Database Security: Step by step guideline
   Best Setting for Oracle Multiblock Read Count!!
   The Power of 11g Snapshot Standby Database for Oracle 10g!!
   Effectively Prevent Oracle Minimum Downtime Migration Error!!
   Oracle Multitable Inserts, Important Concerns!!


FreeMegaZone Jobs!!

 

 
HOME      ABOUT US      SUPPORT      SITE MAP      PRIVACY POLICY      TERMS OF USE      SUBMIT CONTENT      ADVERTISE
Copyright © 2007 - 2010 Oriole Intellect Inc. All rights reserved.

The name Oracle is a trademark of Oracle Corporation. Any other names used on this website may be trademarks of their respective owners