17.00 - Example: Using ObjectUseCountV - Teradata Database

Teradata Vantage™ - Data Dictionary

prodname
Advanced SQL Engine
Teradata Database
vrm_release
17.00
created_date
June 2020
category
Administration
Programming Reference
featnum
B035-1092-170K

The following SELECT statement shows the number of accesses occurring on a particular object:

SELECT AccessCount FROM DBC.ObjectUseCountV WHERE DatabaseName = 'Personnel' AND ObjectName = 'Employee';

The query returns the following result:

 AccessCount
--------------------------
     16