How To: Gather Statistics for the Cost Based Optimizer (Doc ID 1226841.1)

In this Document

  Goal
  Solution
  Best Practices
  Pro-Active Problem Avoidance and Diagnostic Collection
  References

APPLIES TO:

Oracle Database - Standard Edition - Version 9.0.1.0 and later
Oracle Database - Personal Edition - Version 9.0.1.0 and later
Oracle Database - Enterprise Edition - Version 9.0.1.0 and later
Information in this document applies to any platform.

GOAL

Provide pointers to the various articles outlining the recommended methods for gathering statistics for the Cost Based Optimizer for use by Database Administrators

SOLUTION

Please refer to the following articles depending on the version in question:

Document 1445302.1  How to Gather Optimizer Statistics on 12c
Document 749227.1 * How to Gather Optimizer Statistics on 11g
Document 605439.1 * How to Gather Optimizer Statistics on 10g
Document 388474.1 * How to Gather Optimizer Statistics on 9i

Document 114671.1 Gathering Statistics for the Cost Based Optimizer (Pre 10g)

Best Practices

Pro-Active Problem Avoidance and Diagnostic Collection

Although some problems may be unforeseen, in many cases problems may be avoidable if signs are detected early enough. Additionally, if an issue does occur, it is no use collecting information about that issue after the event. For information on suggested uses, other proactive preparations and diagnostics, see:

Document 1482811.1 Best Practices: Proactively Avoiding Database and Query Performance Issues
Document 1477599.1 Best Practices Around Data Collection For Performance Issues

There is also a best practices white paper entitled "Best Practices for Gathering Optimizer Statistics" that can be found at the following location:

http://www.oracle.com/technetwork/database/bi-datawarehousing/twp-bp-optimizer-stats-04042012-1577139.pdf

REFERENCES

NOTE:114671.1  - Gathering Statistics for the Cost Based Optimizer (Pre 10g)
NOTE:388474.1  - * How to Gather Optimizer Statistics on 9i
NOTE:605439.1  - * How to Gather Optimizer Statistics on 10g
NOTE:749227.1  - * How to Gather Optimizer Statistics on 11g
NOTE:1482811.1  - Best Practices: Proactively Avoiding Database and Query Performance Issues
NOTE:1477599.1  - Best Practices: Proactive Data Collection for Performance Issues

你可能感兴趣的:(How To: Gather Statistics for the Cost Based Optimizer (Doc ID 1226841.1))