17.20 - Other DBC Tables with Security Constraint Columns - Analytics Database - Teradata Vantage

Teradata Vantage™ - Analytics Database Security Administration - 17.20

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2023-03-07
dita:mapPath
hjo1628096075471.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
zuy1472246340572
Table Description
DBC.TVFields Contains a row for every column in a database table, view, or index.

The ConstraintID column indicates whether a column is a security constraint.

DBC.TVM The MACFlag column contains a value of either:
  • 'Y' for row level security tables
  • 'N' or NULL for non-row level security tables
DBC.AccessRights Contains abbreviations that define user privileges in the database. The table includes the following abbreviations for row level security privileges:
  • SD - CONSTRAINT DEFINITION
  • SA - CONSTRAINT ASSIGNMENT
  • OI - OVERRIDE INSERT
  • OS - OVERRIDE SELECT
  • OU - OVERRIDE UPDATE
  • OD - OVERRIDE DELETE
  • OA - OVERRIDE DUMP
  • OR - OVERRIDE RESTORE
DBC.SessionTbl Provides information about a session based on the session ID. A session can be labeled with up to six non-set and two set constraints.

The SessionTbl identifies each active constraint for each session by:

  • Constraint ID: A four-byte internal identifier used by the system for recovery. You can determine the associated constraint name by joining with DBC.SecConstraints.
  • Constraint Value: Either a numeric value for hierarchical constraints, or a byte string for non-hierarchical constraints. You can determine the name that corresponds to a constraint value by joining with DBC.ConstraintValues.
DBC.AccLogRuleTbl Indicates whether a logging rule is for a security constraint related privilege, and contains a column for each row level security privilege.
DBC.AccLogTbl Indicates whether a column level access rule applies to a security constraint column.