ANALYZE always runs serially.
ANALYZE calculates global statistics for partitioned tables and indexes instead of gathering them directly. This can lead to inaccuracies for some statistics, such as the number of distinct values.
For partitioned tables and indexes, ANALYZE gathers statistics for the individual partitions and then calculates the global statistics from the partition statistics.
For composite partitioning, ANALYZE gathers statistics for the subpartitions and then calculates the partition statistics and global statistics from the subpartition statistics.
ANALYZE cannot overwrite or delete some of the values of statistics that were gathered by DBMS_STATS.
ANALYZE can gather additional information that is not used by the optimizer, such as information about chained rows and the structural integrity of indexes, tables, and clusters. DBMS_STATS does not gather this information.
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/21805468/viewspace-619980/
,如需转载,请注明出处,否则将追究法律责任。