Collect Statistics on Protected Tables | Teradata Vantage - Collecting Statistics on Tables Protected with Row-Level Security - Analytics Database - Teradata Vantage

Database Administration

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2024-10-04
dita:mapPath
pgf1628096104492.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
ujp1472240543947
lifecycle
latest
Product Category
Teradata Vantageā„¢

If a table is protected by row-level security (at least one column is defined with a constraint-column-definition clause), you must have additional privileges, as follows:

To use COLLECT STATISTICS, HELP STATISTICS, and SHOW STATISTICS with the VALUES clause on... You must have the OVERRIDE SELECT CONSTRAINT privilege on...
a base table the base table or database.
a join index the underlying tables or database.
a hash index the underlying tables or database.
a view the view or database.
a query the underlying tables or database.

For copying statistics, in addition to the SELECT privilege, you must have the OVERRIDE SELECT CONSTRAINT privilege if the source table is protected by row-level security.