Restricted Access to Statistics in DBC Views - Advanced SQL Engine - Teradata Database

Security Administration

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2022-02-15
dita:mapPath
ppz1593203596223.ditamap
dita:ditavalPath
wrg1590696035526.ditaval
dita:id
B035-1100
lifecycle
previous
Product Category
Teradata Vantageā„¢

Accessing DBC views that contain statistics data normally requires only PUBLIC privileges. However, because users might possibly derive protected information about row level security tables from statistics data, access to statistics on row level security tables is restricted.

The following views do not return statistics information for row level security tables:

  • DBC.ColumnStatsV
  • DBC.IndexStatsV
  • DBC.MultiColumnStatsV

To provide convenient access to statistics on row level security tables, users having OVERRIDE SELECT CONSTRAINT privileges on the DBC.StatsTbl table can create custom views.

The DBC.StatsTbl.StatsType column carries a value of P (protected) to identify tables that have the statistics restrictions.