Table Changes That Can Be Tracked - Analytics Database - Teradata Vantage

Database Administration

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2024-10-04
dita:mapPath
pgf1628096104492.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
ujp1472240543947
lifecycle
latest
Product Category
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.

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.