| |
 |
|
Oracle Tips by Burleson |
Oracle 10g Guidelines
Oracle suggests the following best practices for
collecting statistics.
-
Collect statistics for normal data dictionary
objects using the same interval that you would analyze objects in
your schemas. In addition, you need to analyze the dictionary
objects after a sufficient amount of DDL operations have occurred.
-
Use the procedures gather_database_stats or
gather_schema_stats with options set to GATHER AUTO. With this
feature, only the objects that need to be re-analyzed are processed
every time.
-
For fixed objects, the initial collection of
statistics is usually sufficient. A subsequent collection is not
usually needed, unless workload characteristics have changed
dramatically.
In the next section, we will examine the
changes introduced for the dbms_stats package.
Get the complete Oracle10g story:
To get the code instantly, click here:
Need an Oracle Mentor?
BEI is now offering personal mentors for Oracle DBAs where you can have an
Oracle expert right at your fingertips, anytime day or night. We work with
hundreds of Oracle databases every year, so we know exactly how to quickly
assist you with any Oracle question.
Why risk an unplanned outage? You can now get telephone access to Don
Burleson or any of his Oracle Certified DBAs with more than 20 years of
full-time IT experience. Click here for details:
http://www.dba-oracle.com/service_oracle_backup.htm

|