15.10 - Example: Collecting Full Statistics - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Release Number
15.10
Published
December 2015
Language
English (United States)
Last Update
2018-06-05
dita:mapPath
SQL_DDL_15_10.ditamap
dita:ditavalPath
ft:empty

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;