--分析索引
analyze table th compute statistics for table for all indexes for all indexed columns;
analyze table th compute statistics for table for all indexes ;
analyze table th compute statistics for table for indexed columns;
SQL> analyze table th compute statistics;
--
alter system flush shared_pool;
--删除统计信息
select 'analyze table ' || table_name || ' delete statistics;' from user_tables;
analyze table table_name delete statistics;
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/8102208/viewspace-332403/ ,如需转载,请注明出处,否则将追究法律责任。