Skip to Main Content
Oracle Data Warehouse Tuning for 10g
book

Oracle Data Warehouse Tuning for 10g

by Gavin JT Powell
April 2011
Intermediate to advanced content levelIntermediate to advanced
504 pages
16h 49m
English
Digital Press
Content preview from Oracle Data Warehouse Tuning for 10g
414 14.3 Capacity Planning
14.3.4 Statistics
Before discussing how we can use statistics to capacity plan, let’s go over
how we can gather statistics. There are two methods of gathering Oracle
database statistics:
The ANALYZE Command. Can be used to collect optimizer statis-
tics and will be deprecated in a future version of Oracle.
The DBMS_STATS Oracle Provided Package. Collects optimizer
statistics and can be executed in parallel on a multiple CPU system
for better performance.
Using the ANALYZE Command
The command shown below will create optimizer statistics for all rows in a
specified table:
ANALYZE <table> COMPUTE STATISTICS;
Figure 14.5
An untested ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Oracle 10g Data Warehousing

Oracle 10g Data Warehousing

Lilian Hobbs, Susan Hillson, Shilpa Lawande, Pete Smith
Expert Oracle Enterprise Manager 12c

Expert Oracle Enterprise Manager 12c

Kellyn Pot'vin, Anand Akela, Gokhan Atil, Bobby Curtis, Alex Gorbachev, Niall Litchfield, Leighton Nelson, Pete Sharman

Publisher Resources

ISBN: 9781555583354