暂无图片
分享
scott
2019-11-19
DBMS_STATS.GATHER_TABLE_STATS中cascade选项的含义

exec DBMS_STATS.GATHER_TABLE_STATS(‘HR’,‘EMPLOYEES’,method_opt=>‘FOR ALL INDEXED COLUMNS size auto’,cascade=>true);

请问cascade=>true代表什么意思?

收藏
分享
2条回答
默认
最新
文成

官方文档的解释肯定是最准确的,要学会查找官方文档
docs.oracle.com

Determines whether to collect index statistics as part of gathering table statistics.

Specifying this option is equivalent to running the GATHER_INDEX_STATS procedure on each index of the table. Use the constant DBMS_STATS.AUTO_CASCADE to enable the database to determine whether index statistics need to be collected. This is the default. You can change the default using the SET_DATABASE_PREFS, SET_GLOBAL_PREFS, SET_SCHEMA_PREFS, and SET_TABLE_PREFS procedures.

暂无图片 评论
暂无图片 有用 0
scott
问题已关闭: 问题已经得到解决
暂无图片 评论
暂无图片 有用 0
回答交流
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
暂无图片墨值悬赏