CLUSTERING FACTOR

The clustering_factor is a single number that represents the degree to which data is

randomly distributed through a table, and the concept of creating a number to represent the

data scatter in a table is a good one. Unfortunately, some recent, and not-so-recent, features of

Oracle can turn this magic number into a liability.

CLUSTERING_FACTOR与表块数接近代表该列更接近于有序。

当Clustering Factor的值越高,进行索引区间扫描的成本越高,这个时候cbo很有可能会选择全表扫描(数据不好模拟额),物理组织上更加“零散”,

这个例子可以从某种程度上解析:“为什么同一份数据在不同机器上跑,性能不一样?”。

The clustering factor is used to estimate the number of table IO's that will be performed. The optimizer uses that to determine whether a full scan is preferable to an index range scan+table access by index rowid to retrieve that large number of rows.

你可能感兴趣的:(cluster)