17.00 - Example: Using IndexUseCountV - 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 index accesses occurring on a particular object:

SELECT IndexNumber, AccessCount FROM DBC.IndexUseCountV WHERE DatabaseName = 'Personnel' AND TableName = 'Employee';

Result:

IndexNumber                 AccessCount
-----------  --------------------------
          1                           1