Solved

cbo optimer

Posted on 2013-01-07
5
230 Views
Last Modified: 2013-01-10
In a simple way what is the meaning of cost base optimizer..
0
Comment
Question by:walkerdba
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 38753243
It is code that uses statistics to choose the best execution plan for whatever the task is.

The old way was rule based.  It had strict rules to follow.  For example, if an index exists, use it no matter what.

The problem here is at times using an index will actually slow down the execution.

See if this helps fill in the gaps:
http://www.dba-oracle.com/art_otn_cbo.htm
0
 
LVL 23

Expert Comment

by:David
ID: 38753368
Hi walker, for every statement, the Oracle system will attempt to optimize the execution cost.  As slight mentioned, statistics provide the metadata used to evaluate the size and distribution of data.

Is that simple enough? <grins>
0
 
LVL 37

Accepted Solution

by:
Geert Gruwez earned 500 total points
ID: 38753711
it's all in the words
optimize the work based on the cost
the work is the exection of a query following a certain plan
every step in the plan has a certain cost
the best plan usually has the lowest cost

your next question could be what is a hard parse ...
hard parse is working out that execution plan
0
 
LVL 8

Expert Comment

by:Chakravarthi Ayyala
ID: 38756172
Let me see if i can provide any inputs here.

In a simple way what is the meaning of cost base optimizer..
  => when we go to a market to buy something, we choose a product of low cost(ofcourse, not compromising on the quality).
  => Similarly, Oracle calculates the cost(for each unit of operation viz. performing a full table scan/index unique scan/range scan etc., )and gives us each step in the execution plan and the the cost associated with it.

Just my 2 cents.
0
 

Author Closing Comment

by:walkerdba
ID: 38765207
yes
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video shows how to recover a database from a user managed backup

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question