加入收藏 | 设为首页 | 会员中心 | 我要投稿 新余站长网 (https://www.0790zz.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长百科 > 正文

How can I check the last time stats was run on Oracle withou

发布时间:2020-12-24 21:22:16 所属栏目:站长百科 来源:网络整理
导读:All of the following data dictionary tables have a LAST_ANALYZED column (replace * with USER/ALL/DBA as appropriate: * _TABLES * _TAB_PARTITIONS * _TAB_SUBPARTITIONS * _INDEXES * _IND_PARTITIONS * _IND_SUBPARTITIONS (There‘s lots more in

All of the following data dictionary tables have a LAST_ANALYZED column (replace * with USER/ALL/DBA as appropriate:

*_TABLES *_TAB_PARTITIONS *_TAB_SUBPARTITIONS *_INDEXES *_IND_PARTITIONS *_IND_SUBPARTITIONS

(There‘s lots more in the histograms fields,but I‘m not going that deep.)

Conversely,?ALL_TAB_MODIFICATIONS?shows rows inserted/updated/deleted (or the timestamp on which a table/partition/subpartition was truncated) since it had optimizer statistics gathered.

(编辑:新余站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    热点阅读