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

Free Oracle Tips

HTML Text

 Home
 E-mail Us
 Oracle Articles



 Oracle Training
 Oracle News

 Oracle Forum
 Class Catalog


 Our Staff
 Our Prices
 Help Wanted!

 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 UNIX
 Oracle UNIX
 Linux
 Oracle Linux
 Monitoring
 Remote help

 Remote plans
 Remote
services
 Oracle C++
 Oracle Java
 Apache
 JDeveloper
 App Server

 Applications
 Oracle Forms
 Oracle Portal
 11i Upgrades
 SQL Server
 Oracle Concepts
 HTML-DB Tips
 Software Help

 Remote Help  
 Development  

 Implementation


 Financials Training
 Oracle 11i
 Oracle Apps 11i
 Oracle Workflow
 Oracle AR 11i Class
 Oracle AP 11i class
 Oracle GL 11i class
 Oracle HR 11i class
 Oracle FA 11i class
 11i Project Mgt
 11i procurement
 11i collections


 Oracle Posters
 Oracle Books

 Oracle Tuning Book
 Oracle RAC Book
 Oracle Security
 Easy Oracle Books
 Oracle Scripts
 SQL Server DBA
 SQL Design Patterns
 WISE
 Excel-DB   


 BC Oracle News


 Rednecks!
 Dress code
 Arabian Stallion

 Burleson Arabians
 Guide Horses
 Don Burleson Blog
 Golf & Travel


 Privacy Policy
 

 

 

 
 

Update - De-support of Rule-based SQL Optimization in Oracle10g

September 10, 2003

Oracle Tips by Burleson Consulting

 

Oracle has announced in MetaLink note 189702.1 the breaking news that the rule-based optimizer will be de-supported in Oracle10g: “Oracle Oracle10g will support only one optimizer, and all applications running on that release should use that optimizer”. 

http://otn.oracle.com/products/bi/pdf/o9i_optimization_twp.pdf

This announcement has caused a mad-rush as shops struggle to migrate to the CBO, many spending millions of dollars implementing optimizer plan stability (stored outlines) to preserve their existing SQL execution plans.

However, this panic may be unwarranted.  For those of us old enough to remember the migration to Oracle8, we heard the same story back in 1994!  In Oracle document 11727505.61 (dated August 1996), Oracle announced that the RBO will be going away with the release of Oracle8, and just like today, they encouraged customers to quickly migrate to cost-based SQL optimization.

Is it just me, or do these notes sound similar?

In 1996 note: “a decision to discontinue the RBO has been postponed until customers have time to migrate to both Oracle8 and the cost-based optimizer (CBO).”

In 2003 note: “This RBO desupport message is being distributed to both partners and customers. Partners are being encouraged to certify their products on Oracle's CBO as soon as possible.”

So then, what does “RBO de-support” really mean?  In this 1996 note, we get a great clue.  Oracle states that RBO “support” is really just support to correct wrong answers and RBO aborts:

“Development has agreed to make RBO modifications in two cases: (1) wrong answers returned at execution time and (2) query aborts during the optimization process.”

In reality, the RBO was frozen back in 1994, and even though it is “primitive”, for many SQL queries it produces far faster execution plan than the more sophisticated CBO.  To demonstrate this, one has to look no further than Oracle Applications.  Oracle Applications recently migrated to the CBO with release 11i, yet if you look inside the v$sql view of a running instance, many of the SQL queries contain the RULE hint, turning-off the CBO for critical queries.

If we carefully read the 2003 note, Oracle confirms that the RBO will not disappear in Oracle10g:  "The RBO will still exist in Oracle10g, but will be an unsupported feature and will be removed in a future release."  Sounds just like the 1996 note to me!

While it is clear that the RULE hint will continue to exist in Oracle10g, Oracle may discontinue the system-wide optimizer modes of RULE and CHOOSE.

In sum, it appears that the RBO will be with us for some time to come, and only those shops that are not allowed to run un-supported components (e.g. Pharmaceutical industries) should panic.

Many related topics are covered in my upcoming new book Oracle Tuning: The Definitive Reference by Rampant TechPress. 


    Need an Oracle Health Check?
  • Do you have bad performance after an upgrade?
     
  • Need to certify that your database follows best practices?

BC Oracle performance gurus can quickly certify every aspect of your Oracle database and provide a complete verification that your database is fully optimized.

 

 

 

 
 
 

Oracle performance tuning book

 

 

Oracle performance tuning software

 
Oracle performance tuning software
 
SearchOracle web site
 
Oracle performance Tuning 10g reference poster
 
Oracle performance tuning webcast
 
Oracle training in Linux commands
 
Oracle training Excel
 
Oracle training & performance tuning books
 

 

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


 

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

Oracle® is the registered trademark of Oracle Corporation.


Hit Counter