Free Oracle Tips

Oracle Consulting Oracle Training Development
Oracle Training
SQL Tuning Consulting
Oracle Tuning Consulting
Data Warehouse Consulting
Oracle Project Management
Oracle Security Assessment
Unix Consulting
Burleson Books
Burleson Articles
Burleson Web Courses
Burleson Qualifications
Oracle Internals Magazine
Oracle Links
Oracle Monitoring
Remote Support Benefits
Remote Plans & Prices
Our Automation Strategy
What We Monitor
Oracle Apps Support
Print Our Brochure
Contact Us (e-mail)
Oracle Job Opportunities
Oracle Consulting Prices





   

 


        
 
   Oracle Tips by Burleson

Oracle10g Automatic SQL Tuning Process

SQL tuning is one of the challenging tasks faced by DBAs and developers. It is an interesting and creative, but at the same time, daunting task. Manual tuning of SQL statements requires a high level of expertise and experience to understand and design suitable access paths to yield better response times. It is also a time consuming process. Other challenges include periodic collection of statistics and an ever-changing workload. And in a typical application, there are just too many SQL statements to tune.

Oracle Database 10g introduces many useful and easy-to-use tuning tools and methodologies. In this section we will examine these new and improved features.

The new and enhanced features include the following:

  • SQL Tuning Advisor
  • SQLAccess Advisor
  • Automatic Statistics Gathering
  • Automatic Workload Repository - AWR
  • Automatic Database Diagnostic Monitor - ADDM

SQL Tuning Advisor, newly introduced in 10g, is primarily designed to replace the manual tuning of SQL statements and speed up the overall SQL tuning process. SQL Tuning Advisor studies poorly executing SQL statements and evaluates resource consumption in terms of CPU, I/O, and temporary space. The advisor receives one or more SQL statements as input and provides advice on how to optimize their execution plans, gives the rationale for the advice, the estimated performance benefit, and the actual command to implement the advice. We will cover more details in the following sections.

In addition to SQL Tuning Advisor, Oracle provides the SQLAccess Advisor, which provides expert advice on materialized views, indexes, and materialized view logs. A full detailed account of its utility and usage is covered in Chapter 16, Business Intelligence.

Automatic Workload Repository (AWR) collects, processes, and monitors performance-related statistics. The information aids problem detection and self-tuning. Statistics collected by the AWR are persistent and are stored in the database. Automatic Database Diagnostic Monitor (ADDM) constantly analyzes them. The topics of AWR and ADDM are fully covered in Chapter 9, New Manageability Features.

Automatic Statistics Gathering is another new feature that significantly helps the SQL Tuning process. A more detailed account is available in Chapter 9, New Manageability Features.
 


Get the complete Oracle10g story:

The above text is an excerpt from "Oracle Database 10g New Features: Oracle10g Reference for Advanced Tuning and Administration", by Rampant TechPress.  Written by top Oracle experts, this book has a complete online code deport with ready to use scripts. 

To get the code instantly, click here:

http://www.rampant-books.com/book_2003_2_oracle10g.htm


Need an Oracle Mentor?

BEI is now offering personal mentors for Oracle DBAs where you can have an Oracle expert right at your fingertips, anytime day or night. We work with hundreds of Oracle databases every year, so we know exactly how to quickly assist you with any Oracle question.

Why risk an unplanned outage? You can now get telephone access to Don Burleson or any of his Oracle Certified DBAs with more than 20 years of full-time IT experience. Click here for details:

http://www.dba-oracle.com/service_oracle_backup.htm


 

Free Oracle dictionary reference poster

BC Oracle support

Oracle books by Rampant

Oracle monitoring software

North Carolina Oracle Users Group

 

 Arabian horse breeder

Seeing eye horses

 

 

BC Remote Oracle Support
P.O. Box 511 • Kittrell, NC, 27544

Copyright © 2007 by Burleson Enterprises, Inc. All rights reserved.