统计更新

analyze table my_table compute statistics; 

DBMS_STATS.gather_table_stats(OWNNAME => 'USERNAME',TABNAME => 'TABLE_NAME');
DBMS_STATS.gather_index_stats('USERNAME','INDEX_NAME');

posted @ 2015-01-28 09:41  CoderLeob  阅读(135)  评论(0)    收藏  举报