In addition to collecting access counts (which are done once per request), object use counts collect the number of updates, deletes, and inserts performed against database tables involved in the request. This information is useful in calculating table row count estimations, statistics extrapolations, and thresholds for statistics collection.
Vantage supports these requests and logs them to the Data Dictionary table DBC.ObjectUsage:
- Selects
- Updates
- Deletes
- Inserts
- Merges (including merge, merge-delete, and merge-update)
- Upserts
- Statistics access
To see how many rows are updated, inserted, and deleted in a request (not categorized by table), enable database query logging and see the StmtDMLRowCount field in either DBC.DBQLogTbl or the DBC.QryLogV and DBC.QryLogV_sz views.