The Data Dictionary - Teradata Vantage - Analytics Database

Database Introduction

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2023-09-27
dita:mapPath
gtm1628096154303.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
dsm1472253642401
lifecycle
latest
Product Category
Teradata Vantageā„¢

The Vantage Data Dictionary is composed of tables and views that reside in the system user named DBC. The tables are reserved for system use. The views provide access to the information in the tables.

The tables contain current definitions, control information, and general information about the following:

  • Authorization
  • Accounts
  • Character sets
  • Columns
  • Constraints
  • Databases
  • Disk Space
  • End Users
  • Events
  • External stored procedures
  • Indexes
  • JAR and ZIP archive files
  • Logs
  • Macros
  • Privileges
  • Profiles
  • Resource usage
  • Roles
  • Rules
  • Sessions and session attributes
  • Statistics
  • Stored Procedures
  • Tables
  • Translations
  • Triggers
  • User-defined functions
  • User-defined methods
  • User-defined types
  • Views

The Data Dictionary stores object definitions and details.

Object

Details Stored

Table

  • Location, identification, version
  • Database name, table name, creator name, and user names of all owners in hierarchy
  • Columns (name, data type, length, and phrases for each)
  • User/creator access privileges
  • Indexes
  • Constraints
  • Table backup and protection (including fallback and permanent journaling status)
  • Creation timestamp

Database

  • Database name, creator name, owner name, and account name
  • Space allocation (if any) including the following:
    • Permanent
    • Spool
    • Temporary
  • Number of fallback tables
  • Collation type
  • Creation timestamp
  • Timestamp of last alteration and name of user who altered it
  • Role and profile names
  • Revision numbers for UDF library and any XSP libraries by Application Category

View or macro

  • View or macro text
  • Creation time attributes
  • User and creator access privileges

Stored procedure

  • Creation time attributes
  • Parameters (name, data type, and default format for each)
  • User and creator access privileges

External stored procedure, C/C++

  • C/C++ source code and object code
  • External stored procedure name
  • External name
  • Data types of parameters
  • Source file language
  • Data accessing characteristic
  • Parameter passing convention
  • Execution protection mode
  • Character type
  • Platform type

External stored procedure, Java

  • Java external stored procedure name
  • External file reference
  • Data types of parameters
  • Source file language
  • Data accessing characteristic
  • Parameter passing convention
  • Execution protection mode
  • Character type
  • Platform type

JAR

  • Java object code
  • JAR name
  • External name
  • Platform type
  • Revision number

Trigger

  • IDs of the following:
    • Table
    • Trigger
    • Database and subject table database
    • User who created trigger
    • User who last updated trigger
  • Timestamp of last update
  • Indexes
  • Trigger name
  • Whether trigger is enabled
  • Triggering event
  • Firing order
  • Default character set
  • Creation text and time stamp
  • Overflow text, that is, trigger text that exceeds a specified limit
  • Fallback tables

User-defined function (UDF), C

  • C source code and object code
  • Function call name
  • Specific name
  • External name
  • Data types of parameters
  • Function class
  • Source file language
  • Data accessing characteristic
  • Parameter passing convention
  • Deterministic characteristic
  • Null-call characteristic
  • Execution protection mode
  • Character type
  • Platform type

UDF, Java

  • Function call name
  • Specific name
  • External name
  • Data types of parameters
  • Function class
  • Source file language
  • Data accessing characteristic
  • Parameter passing convention
  • Deterministic characteristic
  • Null-call characteristic
  • Execution protection mode
  • Character type
  • Platform type

User-defined method (UDM)

  • C source code and object code
  • Function call name
  • Specific name
  • External name
  • Data types of parameters
  • Function class
  • Source file language
  • Data accessing characteristic
  • Parameter passing convention
  • Deterministic characteristic
  • Null-call characteristic
  • Execution protection mode
  • Character type
  • Platform type

User-defined type (UDT)

DBC.UDTInfo:

  • Type name
  • Type kind (Distinct or Structured)
  • Whether type is instantiable
  • Default transform group (name)
  • Ordering form (full ordering or equals only - distinct and structured types are always full)
  • Ordering category (map or relative - distinct and structured types are always map)
  • Ordering routine ID
  • Cast count

DBC.UDTCast:

  • Whether cast is implicit assignment
  • Cast routine ID
DBC.UDFInfo:
  • Auto-generated default constructor
  • Same entries as for C/C++ UDF

DBC.UDTTransform:

  • Default transform group name
  • ToSQL routine ID
  • FromSQL routine ID

User

  • User name, creator name, and owner name
  • Password string and password change date
  • Space allocation, including the following:
    • Permanent
    • Spool
    • Temporary
  • Default account, database, collation, character type, and date form
  • Creation timestamp
  • Name and timestamp of last alteration to user
  • Role and profile names