Gather Statistics Intro
Optimizer statistics include the following:
· Table statistics
o Number of rows
o Number of blocks
o Average row length
· Column statistics
o Number of distinct values (NDV) in column
o Number of nulls in column
o Data distribution (histogram)
o Extended statistics
· Index statistics
o Number of leaf blocks
o Levels
o Clustering factor
· System statistics
o I/O performance and utilization
o CPU performance and utilization
Because the objects in a database can be constantly changing, statistics must be regularly updated so that they accurately describe these database objects. Statistics are maintained automatically by Oracle or you can maintain the optimizer statistics manually using the DBMS_STATS
package. Hope this help. Regards Rupam