xibuhaohao

一、数据库分析

二、表的分析

1.分析表
exec dbms_stats.gather_table_stats(\'SFISM4\',\'R_SN_DETAIL_T\',CASCADE=>TRUE);
exec dbms_stats.gather_table_stats(\'ISMP\',\'MAPI_ASYNC_NOTIFY\',degree => 8,estimate_percent=> 100,cascade=>true);
2.分析分区表
exec dbms_stats.gather_table_stats(ownname =>\'ISMP\',tabname => \'MAPI_ASYNC_NOTIFY\',degree => 8,estimate_percent=> 100,cascade=>true);
exec dbms_stats.gather_table_stats(ownname =>\'ISMP\',tabname => \'MAPI_ASYNC_NOTIFY\',degree => 8,estimate_percent=> 100,method_opt => \'for all indexed columns\' ,cascade => true);

三、直方图

分类:

技术点:

相关文章: