analyze table compute statistics = analyze table compute statistics for table for all indexes for all columns;
比analyze table compute statistics for table for all indexes for all indexed columns 分析了更多的信息
但这里并不是鼓励使用 analyze table 的方法进行分析。
[2005/07/16增加]http://www.itpub.net/showthread.php?s=&threadid=390929 讨论了不同方式分析,oracle默认产生的HISTOGRAMS不同。作为本文章的补充。
观察analyze table compute statistics 都对什么对象统计了信息
analyze table compute statistics = analyze table compute statistics for table for all indexes for all columns;
比analyze table compute statistics for table for all indexes for all indexed columns 分析了更多的信息
但这里并不是鼓励使用 analyze table 的方法进行分析。
SQL> create table t as select * from all_objects;
Table cr