RelationalDBDesign
SiteMap
Advanced Tuning
SQL Tuning
Perform Tuning
Tuning Instance
Tuning Basics
External Environment
Rule Based Optimizer
«Prev
Next»
Oracle SQL Tuning
Tuning Oracle SQL
Extension ANSI SQL
SQL Tuning Tool Set
Executing Oracle SQL
Explain Plan Utility
SQL Optimizer Modes
Rule Based Optimizer
SQL Tuning Hints
ANSI SQL Extensions
Built in Functions
Oracle null Value BIF
Decode Function
Grouping Rollup bifs
Supplied Extensions
Extensions Conclusion
SQL Tuning Tools
DBA SQL Roles
Developers Write SQL
Inside Stored Procedures
SQL Tuning Tools
Explain Plan Utility
SQL Declarative Language
Oracle Plan Table
Explain Plan Statement
Full Table Scan
Oracle checks Library Cache
Diagnose Table Joins
Non Correlated Subqueries
Index Range Scans
Analyze Explain Plan
SQL Explain Plan Conclusion
SQL Optimizer Modes
Optimizer Modes
Default Optimizer Mode
SQL Optimizer Modes
Rule Based Optimizer
Rule-Based Optimizer[Oracle] - Exercise
Overview of the rule-based optimizer
Basic rule-based optimizer concepts
Objective:
Correctly order the rule-based optimizer hierarchy and process steps.
Instructions
Below are two sets of items presented out of order. The first is the rule hierarchy used by the rule-based optimizer and the second is the typical process that the rule-based optimizer uses. For each list, drag the steps into the correct order, with the first step at the top of the list.
When you think you have the steps in the correct order, click Done.
You will be told whether or not the order is correct. If you didn't get the order right, keep trying.
If you get stuck, try clicking Hint. The steps you have in the correct place will have green lights next to them. The steps that are not in the correct place will have red lights next to them.
Be sure you have ordered both lists before you click the
Submit
button.
Exercise Scoring
You will receive five points for this exercise. The exercise is auto-scored; when you have completed the exercise, click the OK, I'm Done button to receive full credit.
These are some of the rules in the rule hierarchy.
Type them in the correct order with the fastest access method on the top and the slowest on the bottom.
Single row by rowid
Cluster join
Hash cluster key
Composite key
Single column indexes
Bounded range search on indexed columns
ORDER BY on indexed columns
Full-table scan
Here are the steps that the rule-based optimizer follows when it chooses an access path. Put them in the correct order.
Parses the SQL syntax
Examines FROM clause
Establishes the driving table
Examines the WHERE clause
Chooses the access path
Submit