DBA_TAB_MODIFICATIONS
describes modifications to all tables in the database that have been modified since the last time statistics were gathered on the tables. Its columns are the same as those in "ALL_TAB_MODIFICATIONS".
· ALL_TAB_MODIFICATIONS
describes tables accessible to the current user that have been modified since the last time statistics were gathered on the tables.
· USER_TAB_MODIFICATIONS
describes such information for tables owned by the current user. This view does not display the TABLE_OWNER
column.
Column | Datatype | NULL | Description |
|
| | Owner of the modified table |
|
| | Name of the modified table |
|
| | Name of the modified partition |
|
| | Name of the modified subpartition |
|
| | Approximate number of inserts since the last time statistics were gathered |
|
| | Approximate number of updates since the last time statistics were gathered |
|
| | Approximate number of deletes since the last time statistics were gathered |
|
| | Indicates the last time the table was modified |
|
| | Indicates whether the table has been truncated since the last analyze ( |
|
| | Number of partition and subpartition segments dropped since the last analyze |
Note:
1. This view is populated only for tables with the MONITORING
attribute. It is intended for statistics collection over a long period of time. For performance reasons, the Oracle Database does not populate this view immediately when the actual modifications occur. Run the FLUSH_DATABASE_MONITORING_INFO
procedure in the DBMS_STATS
PL/SQL package to populate this view with the latest information. The ANALYZE_ANY
system privilege is required to run this procedure.
2.
select table_owner, table_name, inserts, updates, deletes, timestamp, truncated, drop_segments
from sys.DBA_TAB_MODIFICATIONS
where table_owner = 'SDE';
TABLE_ OWNER | TABLE_NAME | INSERTS | UPDATES | DELETES | TIMESTAMP | TRUNCATED | DROP_SEGMENTS |
SDE | GDB_OBJECTCLASSES | 20 | 0 | 8 | 2008-07-14 10:00:06 PM | NO | 0 |
SDE | COLUMN_REGISTRY | 251 | 11 | 238 | 2008-09-23 10:00:06 PM | NO | 0 |
SDE | GEOMETRY_COLUMNS | 7 | 0 | 8 | 2008-09-23 10:00:06 PM | NO | 0 |
SDE | TABLE_REGISTRY | 8 | 15 | 7 | 2008-09-23 10:00:06 PM | NO | 0 |
SDE | GDB_USERMETADATA | 4 | 0 | 4 | 2008-10-02 10:00:06 PM | NO | 0 |