HELP STATISTICS SQL Statement | VantageCloud Lake - HELP STATISTICS (QCD Form) - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
Language
English (United States)
Last Update
2024-04-03
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

Displays summary or detailed attributes for the statistics that have been collected in the TableStatistics table of a specified query capture database (QCD) for a specified table.

Submit a SHOW STATISTICS request (see SHOW STATISTICS) and specify the VALUES option to report detailed attributes for the QCD statistics that have been collected for a table or join index. You can also use SHOW STATISTICS to report SUMMARY QCD statistics for a table or join index.

ANSI Compliance

This statement is a Teradata extension to the ANSI SQL:2011 standard.

Required Privileges

You must have one of the following privileges to perform the QCD form of HELP STATISTICS.
  • Any privilege on table_name.
  • Own table_name and have SELECT privilege on the TableStatistics table in QCD_name.

Use the SHOW privilege to enable a user to perform HELP or SHOW requests only against the QCD statistics collected on a specified database object.