Table of Contents

Search

  1. About the Data Vault Administrator Guide
  2. Introduction to the Data Vault
  3. Data Vault Service Startup and Shutdown
  4. Data Vault Configuration
  5. Data Vault SSL Setup
  6. Data Vault ODBC Setup
  7. Data Vault Administration
  8. Data Repartitioning
  9. Partial Data Vault Copy
  10. Archived Data Migration
  11. Data Validation
  12. Bulk File Uploader
  13. Data Vault Administration Tool
  14. Data Vault Logs
  15. User Account Privileges
  16. ssasql Command Line Program
  17. Data Vault Audit Log
  18. Appendix A: Sample Configuration Files

Data Vault Administrator Guide

Data Vault Administrator Guide

Accessing Catalog Tables

Accessing Catalog Tables

The metadata repository contains catalog tables with information about Data Vault users, tables, privileges, and more. You can query these tables to build reports.
The following list describes the catalog tables:
Table Name
CAT_USERS
Table Description
Contains a list of Data Vault users.
Table Columns
  • NAME: VARCHAR (128), nullable
  • PASSWORD: VARCHAR (128), nullable
  • PASSWORDCHANGE: TIMESTAMP, nullable
  • UID: INTEGER, not null
  • ROLE: CHAR (1), nullable
  • DEFAULTDB: INTEGER, nullable
  • DEFAULTSCHEMA: INTEGER, nullable
  • CREATOR: INTEGER, nullable
  • CREATED: TIMESTAMP, nullable
  • ALTERED: TIMESTAMP, nullable
  • CONSTRAINT CAT_USERS_PK: Primary key (UID)
Table Name
CAT_DATABASES
Table Description
Contains a list of databases in Data Vault.
Table Columns
  • NAME: VARCHAR (256), nullable
  • DBID: INTEGER, not null
  • CREATOR: INTEGER, nullable
  • CREATED: TIMESTAMP, nullable
  • ALTERED: TIMESTAMP, nullable
  • CONSTRAINT CAT_DATABASES_FK1: Foreign key (CREATOR), references CAT_USERS (UID)
  • CONSTRAINT CAT_DATABASES_PK: Primary key (DBID)
Table Name
CAT_SCHEMAS
Table Description
Contains a list of schemas in Data Vault.
Table Columns
  • NAME: VARCHAR (256), nullable
  • SCHID: INTEGER, not null
  • DBID: INTEGER, nullable
  • CREATOR: INTEGER, nullable
  • CREATED: TIMESTAMP, nullable
  • ALTERED: TIMESTAMP, nullable
  • CONSTRAINT CAT_SCHEMAS_FK1: Foreign key (CREATOR), references CAT_USERS (UID)
  • CONSTRAINT CAT_SCHEMAS_PK: Primary key (SCHID)
Table Name
CAT_TABLES
Table Description
Contains a list of tables in Data Vault.
Table Columns
  • NAME: VARCHAR (256), nullable
  • TID: INTEGER, not null
  • TABLETYPE: CHAR (1), nullable
  • ARCHIVETYPE: CHAR (1), nullable
  • COMMENTS: VARCHAR (1024), nullable
  • DBID: INTEGER, nullable
  • SCHID: INTEGER, nullable
  • CREATOR: INTEGER, nullable
  • CREATED: TIMESTAMP, nullable
  • ALTERED: TIMESTAMP, nullable
  • CONSTRAINT CAT_TABLES_FK1: Foreign key (CREATOR), references CAT_USERS (UID)
  • CONSTRAINT CAT_TABLES_PK: Primary key (TID)
Table Name
CAT_DOMAINS
Table Description
Contains a list of domains in Data Vault.
Table Columns
  • NAME: VARCHAR (256), nullable
  • DOMID: INTEGER, not null
  • DBID: INTEGER, nullable
  • SCHID: INTEGER, nullable
  • CREATOR: INTEGER, nullable
  • DATATYPE: INTEGER, nullable
  • PREC: INTEGER, nullable
  • SCALE: INTEGER, nullable
  • CREATED: TIMESTAMP, nullable
  • ALTERED: TIMESTAMP, nullable
  • CONSTRAINT CAT_DOMAINS_FK1: Foreign key (CREATOR), references CAT_USERS (UID)
  • CONSTRAINT CAT_DOMAINS_FK2: Foreign key (DBID), references CAT_DATABASES (DBID)
  • CONSTRAINT CAT_DOMAINS_FK3: Foreign key (SCHID), references CAT_SCHEMAS (SCHID)
  • CONSTRAINT CAT_DOMAINS_PK: Primary key (DOMID)
Table Name
CAT_COLUMNS
Table Description
Contains a list of columns in Data Vault.
Table Columns
  • NAME: VARCHAR (256), nullable
  • COLNO: INTEGER, not null
  • FLAG: CHAR (1), nullable
  • NULLFLAG: CHAR (1), nullable
  • TID: INTEGER, not null
  • DOMID: INTEGER, nullable
  • CREATED: TIMESTAMP, nullable
  • ALTERED: TIMESTAMP, nullable
  • CONSTRAINT CAT_COLUMNS_FK1: Foreign key (TID), references CAT_TABLES (TID)
  • CONSTRAINT CAT_COLUMNS_FK2: Foreign key (DOMID), references CAT_DOMAINS (DOMID)
  • CONSTRAINT CAT_COLUMNS_PK: Primary key (TID, COLNO)
Table Name
CAT_DATATYPES
Table Description
Contains a list of datatypes in Data Vault.
Table Columns
  • DATATYPE: INTEGER, nullable
  • NAME: VARCHAR (9), nullable
  • MAX_LENGTH: DECIMAL (18, 0), nullable
  • MAX_SCALE: INTEGER, nullable
Table Name
CAT_VIEWS
Table Description
Contains a list of views in Data Vault.
Table Columns
NAME: VARCHAR (256), nullable
VWID: INTEGER, not null
DBID: INTEGER, nullable
SCHID: INTEGER, nullable
CREATOR: INTEGER, nullable
TYPE: CHAR (1), nullable
QUERYTYPE: CHAR (1), nullable
STATE: CHAR (1), nullable
CREATED: TIMESTAMP, nullable
ALTERED: TIMESTAMP, nullable
CONSTRAINT CAT_VIEWS_FK1: Foreign key (DBID), references CAT_DATABASES (DBID)
CONSTRAINT CAT_VIEWS_FK2: Foreign key (SCHID), references CAT_SCHEMAS (SCHID)
CONSTRAINT CAT_VIEWS_FK3: Foreign key (VWID), references CAT_TABLES (TID)
CONSTRAINT CAT_VIEWS_FK4: Foreign key (CREATOR), references CAT_USERS (UID)
CONSTRAINT CAT_VIEWS_PK: Primary key (VWID)
Table Name
CAT_DATABASE_PRIVS
Table Description
Contains a list of privileges at the database level in Data Vault.
Table Columns
GRANTOR: INTEGER, nullable
GRANTEE: INTEGER, nullable
DBID: INTEGER, nullable
PRIVILEGE: CHAR (1), nullable
GRANTABLE: CHAR (1), nullable
CREATED: TIMESTAMP, nullable
CONSTRAINT CAT_DATABASE_PRIVS_FK1: Foreign key (DBID), references CAT_DATABASES (DBID)
CONSTRAINT CAT_DATABASE_PRIVS_FK2: Foreign key (GRANTOR), references CAT_USERS (UID)
CONSTRAINT CAT_DATABASE_PRIVS_FK3: Foreign key (GRANTEE), references CAT_USERS (UID)
Table Name
CAT_SCHEMA_PRIVS
Table Description
Contains a list of privileges at the schema level in Data Vault.
Table Columns
  • GRANTOR: INTEGER, nullable
  • GRANTEE: INTEGER, nullable
  • SCHID: INTEGER, nullable
  • PRIVILEGE: CHAR (1), nullable
  • GRANTABLE: CHAR (1), nullable
  • CREATED: TIMESTAMP, nullable
  • CONSTRAINT CAT_SCHEMA_PRIVS_FK1: Foreign key (SCHID), references CAT_SCHEMAS (SCHID)
  • CONSTRAINT CAT_SCHEMA_PRIVS_FK2: Foreign key (GRANTOR), references CAT_USERS (UID)
  • CONSTRAINT CAT_SCHEMA_PRIVS_FK3: Foreign key (GRANTEE), references CAT_USERS (UID)
Table Name
CAT_TABLE_PRIVS
Table Description
Contains a list of privileges at the table level in Data Vault.
Table Columns
  • GRANTOR: INTEGER, nullable
  • GRANTEE: INTEGER, nullable
  • TID: INTEGER, nullable
  • PRIVILEGE: CHAR (1), nullable
  • GRANTABLE: CHAR (1), nullable
  • CREATED: TIMESTAMP, nullable
  • CONSTRAINT CAT_TABLE_PRIVS_FK1: Foreign key (TID), references CAT_TABLES (TID)
  • CONSTRAINT CAT_TABLE_PRIVS_FK2: Foreign key (GRANTOR), references CAT_USERS (UID)
  • CONSTRAINT CAT_TABLE_PRIVS_FK3: Foreign key (GRANTEE) , references CAT_USERS (UID)
Table Name
CAT_COLUMN_PRIVS
Table Description
Contains a list of privileges at the column level in Data Vault.
Table Columns
  • GRANTOR: INTEGER, nullable
  • GRANTEE: INTEGER, nullable
  • TID: INTEGER, nullable
  • COLNO: INTEGER, nullable
  • PRIVILEGE: CHAR (1), nullable
  • GRANTABLE: CHAR (1), nullable
  • CREATED: TIMESTAMP, nullable
  • CONSTRAINT CAT_COLUMN_PRIVS_FK1: Foreign key (TID, COLNO), references CAT_COLUMNS (TID, COLNO)
  • CONSTRAINT CAT_COLUMN_PRIVS_FK2: Foreign key (GRANTOR), references CAT_USERS (UID)
  • CONSTRAINT CAT_COLUMN_PRIVS_FK3: Foreign key (GRANTEE), references CAT_USERS (UID)

0 COMMENTS

We’d like to hear from you!