`
edwards0307
  • 浏览: 25997 次
  • 性别: Icon_minigender_2
  • 来自: 北京
社区版块
存档分类
最新评论

user_tab_modifications

阅读更多

USER_TAB_MODIFICATIONS describes modifications to all tables owned by the current user that have been modified since the last time statistics were gathered on the tables


1.SQL> select * from user_tab_modifications;

no rows selected

2.SQL> insert into t values(1);

3.commit;

4.SQL> select * from user_tab_modifications;

no rows selected

why? because you need to wait for a moment,or you have'd executed the procedure dbms_stats.flush_database_monitoring_info().

5.exec dbms_stats.flush_database_monitoring_info()

6.

SQL> select * from user_tab_modifications;

you will get the expected result.
 

 

0
1
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics