17.00 - 17.05 - Table Changes That Can Be Tracked - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - Database Administration

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
17.05
Published
June 2020
Language
English (United States)
Last Update
2021-01-22
dita:mapPath
rgu1556127906220.ditamap
dita:ditavalPath
lze1555437562152.ditaval

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.