15.10 - Accessing Tables - Teradata Database

Teradata Database Data Dictionary

Product
Teradata Database
Release Number
15.10
Content Type
Administration
User Guide
Publication ID
B035-1092-151K
Language
English (United States)

Data Dictionary tables can be accessed only by users who have the required privileges to the tables. Access to the tables is strictly controlled to ensure that users (including system administrators) cannot modify them.

Notice:

To ensure that the system functions properly, do not modify or delete any Data Dictionary tables. Use Data Dictionary views to access data in the tables to ensure that the tables are not accidentally modified or deleted.

For sites that use Teradata Secure Zones, SELECT privilege on DBQL tables is revoked from PUBLIC. Users can access DBQL table information through DBC.QryLog* views only, to prevent zone users from accessing information not related to their zones. For more details, see “Teradata Secure Zone Views” on page 22.

Zone users can see the information for objects in their zone in DBC views, but they cannot see the information for any objects outside their zone. If a non-zone user needs to see information for all of the zones, you can grant ZONE OVERRIDE privilege. Users with ZONE OVERRIDE privilege can see information from all zones. You can also grant SELECT privilege on a specific view, but users with SELECT privileges on a view obtain different result sets, depending on their zone membership or non-zone status. See GRANT ZONE OVERRIDE and REVOKE ZONE OVERRIDE in SQL Data Control Language.

Teradata recommends that you do not grant SELECT privileges on the following tables:

  • DBC.DBQLExplainTbl
  • DBC.DBQLObjTbl
  • DBC.DBQLogTbl
  • DBC.DBQLSqlTbl
  • DBC.DBQLStepTbl
  • DBC.DBQLSummaryTbl
  • DBC.DBQLXMLTbl
  • DBC.DBQLUtilityTbl
  • DBC.DBQLXMLLockTbl
  • DBC.TDWMExceptionLog