SQL> drop table daodao;
表已删除。
SQL> create table daodao(a integer);
表已创建。
SQL> select * from user_tab_modifications where TABLE_NAME ='DAODAO';
未选定行
SQL> insert into daodao values(5);
已创建 1 行。
SQL> commit;
提交完成。
SQL> select * from user_tab_modifications where TABLE_NAME ='DAODAO';
未选定行
SQL> exec dbms_stats.flush_database_monitoring_info;
PL/SQL 过程已成功完成。
SQL> select * from user_tab_modifications where TABLE_NAME ='DAODAO';
TABLE_NAME PARTITION_NAME SUBPARTITION_NAME INSERTS UPDATES DELETES TIMESTAMP TRU DROP_SEGMENTS
------------------------------ ------------------------------ ------------------------------ ---------- ---------- ---------- ----------------
DAODAO 1 0 0 05-12月-13 NO 0
显然,从上面可以知道这个表的dml情况