Table Changes That Can Be Tracked - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ - Database Administration

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
March 2019
Language
English (United States)
Last Update
2019-05-03
dita:mapPath
tgx1512080410608.ditamap
dita:ditavalPath
TD_DBS_16_20_Update1.ditaval
dita:id
ujp1472240543947
Product Category
Software
Teradata Vantage

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.

Teradata Database 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.