ORACLE 如何对表进行分析
2019-12-12 19:11:45数据百科
分析表,可以使用analyze table,使用analyze table 一般可以指定分析: 表,所有字段,所有索引字段,所有索引。 若不指定则全部都分析。
analyze table dept compute statistic
分析表,可以使用analyze table,使用analyze table 一般可以指定分析: 表,所有字段,所有索引字段,所有索引。 若不指定则全部都分析。
analyze table dept compute statistics;
analyze table dept compute statistics for table for all indexes for all columns;
analyze table dept compute statistics for table for all indexes for all indexed columns;

select num_rows,blocks from user_tables where table_name='DEPT';

很赞哦! ()