Statistics | Privileges Needed for Database Administration | Teradata Vantage - 17.05 - Statistics - Teradata Database

Teradata Vantageā„¢ - SQL Data Control Language

prodname
Advanced SQL Engine
Teradata Database
vrm_release
17.00
17.05
created_date
June 2020
category
Programming Reference
featnum
B035-1149-170K
To... the user must have...
collect/drop statistics on a permanent or global temporary table, a hash index, or a join index the STATISTICS privilege on the table, global temporary table, hash index or join index.
collect/drop statistics on a permanent row level security table the STATISTICS and OVERRIDE SELECT privileges on the table.
collect/drop statistics on a volatile table or a materialized global temporary table No privileges required
use HELP STATISTICS to display summary or detail information for collected statistics for the specified data table or hash or join index
  • Any privilege on the table_name, join_index_name, or hash_index_name
  • Ownership of the table_name or join_index_name
use SHOW STATISTICS to display summary or detail information for collected statistics for the specified data table or hash or join index if the values option is not specified:
  • Any privilege on the table_name, join_index_name, or hash_index_name
  • Ownership of the table_name or join_index_name
if the values option is specified:
  • SELECT on the object being reported