ITPub博客

首页 > 应用开发 > IT综合 > How to Determine if Dictionary Statistics are RDBMS-Generated or User-Defined

How to Determine if Dictionary Statistics are RDBMS-Generated or User-Defined

原创 IT综合 作者:ysjxjf 时间:2008-08-11 18:26:12 0 删除 编辑
The column USER_STATS from DBA_TABLES, ALL_TABLES, USER_TABLES displays:

YES, when statistics are entered directly by a user.
NO, when statistics are generated by RDBMS through an ANALYZE statement.


It is the same column in:

DBA_ALL_TABLES for object and relational tables statistics,
DBA_OBJECT_TABLES for object tables statistics,

DBA_TAB_PARTITIONS for table partitions statistics,
DBA_TAB_SUBPARTITIONS for table subpartitions statistics,

DBA_INDEXES for indexes statistics,
DBA_IND_PARTITIONS for index partitions statistics,
DBA_IND_SUBPARTITIONS for index subpartitions statistics,

DBA_TAB_COLUMNS for table columns statistics

and in all related USER_% and ALL_% views.
[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/66634/viewspace-1008814/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-04-24

  • 博文量
    376
  • 访问量
    3279040