17.10 - Example: Using StatUseCountV[X] - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - Data Dictionary

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Administration
Programming Reference
Publication ID
B035-1092-171K
Language
English (United States)

The following SELECT statement shows the number of statistics accesses ocarina on a particular table:

SELECT StatName, AccessCount FROM DBC.StatUseCountV WHERE DatabaseName = 'Personnel' AND TableName = 'Employee';

The query returns the following result:

StatName  AccessCount
--------- ------------
ST1_id    10