15.10 - Example: Collecting Full Statistics - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

prodname
Teradata Database
vrm_release
15.10
created_date
December 2015
category
Programming Reference
featnum
B035-1144-151K

Assuming that an index is defined on the empno and name columns of the employee table, the following request collects statistics for that index.

     
COLLECT STATISTICS 
        INDEX (empno, name) 
     ON employee;