E N D
1. Welcome to the Grid open - 2282801Welcome to the Grid open - 2282801
3. Oracle Database 10g Solution: Self-Managing Database
4. Rule-Based Optimizer Obsolescence RBO is no longer supported:
No bug fixes will be provided.
Almost no regression testing of RBO for Oracle Database 10g
CHOOSE and RULE values are no longer supported.
ALL_ROWS is the default value for OPTIMIZER_MODE.
5. Automatic SQL Tuning: Overview Automatic SQL Tuning automates the entire SQL tuning process and replaces manual SQL tuning.
Optimizer modes:
Normal mode
Tuning mode or Automatic Tuning Optimizer (ATO)
SQL Tuning Advisor is used to access the tuning mode.
The tuning mode should be used only for high-load SQL statements.
6. Application Tuning Challenges
7. SQL Tuning Advisor: Overview
8. Stale or Missing Object Statistics Object statistics are key input to the optimizer.
ATO verifies object statistics for each query object.
ATO uses dynamic sampling.
ATO generates:
Auxiliary object statistics to compensate for missing or stale object statistics
Generates recommendations to gather object statistics where appropriate:
9. SQL Statement Profiling Statement statistics are key input to the optimizer.
ATO verifies statement statistics like:
Predicate selectivity
Optimizer settings (FIRST_ROWS versus ALL_ROWS)
ATO uses:
Dynamic sampling
Partial execution of the statement
Past execution history statistics of the statement
Generates a profile if statistics were generated:
10. Plan Tuning Flow and SQL Profile Creation
11. SQL Tuning Loop
12. SQL Tuning Advisor: Usage Model
13. Database Control and SQL Tuning Advisor
14. SQL Tuning Advisor: Options and Recommendations
15. Database Home Page
16. Database Performance Page
17. Concurrency Wait Class: Drill Down
18. Top SQL by Waits: Drill Down