---
title: "user_tab_modifications"
author: "edwards0307"
date: "2011-11-15T10:40:46Z"
tags: []
categories: ["数据库"]
slug: "user-tab-modifications"
draft: false
lastmod: "2011-11-15T10:40:46Z"
id: 1259176
url: "https://killdbs.iteye.com/blog/1259176"
---

USER\_TAB\_MODIFICATIONS describes modiﬁcations to all tables owned by the current user that have been modiﬁed since the last time statistics were gathered on the tables

1.SQL&gt; select * from user\_tab\_modifications;

no rows selected

2.SQL&gt; insert into t values(1);

3.commit;

4.SQL&gt; 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&gt; select * from user\_tab\_modifications;

you will get the expected result.