NonStop SQL/MP Reference Manual

Table Of Contents
NonStop SQL/MP Reference Manual142115
C-7
Catalogs
You can create your own tables, indexes, views, and files on a subvolume that includes
an SQL catalog, but it is better to create such objects in other subvolumes, if a later
release of NonStop SQL/MP could add new tables or indexes to the catalog. (The
UPGRADE CATALOG command would be unable to upgrade your catalog if a new
catalog table had the same name as a table or file you created on the catalog subvolume.)
Each catalog has a version and a format version associated with it. The catalog version
indicates the newest version of objects that can be registered in the catalog. The catalog
format version indicates the oldest version of NonStop SQL/MP software that can
access the catalog. (See Versions
on page V-5 for more information.)
The following table gives a brief description of the catalog tables and indexes. If you
need more information about a specific catalog table, see the separate entry for that
table.
Catalog Tables and Indexes
BASETABS Describes the attributes of tables
CATALOGS Describes the catalogs on a node (present only in system catalogs)
COLUMNS Describes the columns of tables
COMMENTS Stores comments on collations, columns, constraints, indexes, tables, and
views; also stores help text for columns
CONSTRNT Describes constraints defined on tables
CPRLSRCE Stores source for collations
CPRULES Describes collations
FILES Describes attributes of files that contain tables and indexes
INDEXES Describes indexes defined on tables
IXINDE01 Unique index on INDEXNAME column of INDEXES table
IXPART01 Nonunique index on PARTITIONNAME column of PARTNS table
IXPROG01 Nonunique index on GROUPID and USERID columns of PROGRAMS
table
IXTABL01 Nonunique index on GROUPID and USERID columns of TABLES table
IXUSAG01 Nonunique index on USINGOBJNAME and USINGOBJTYPE columns of
USAGES table
KEYS Describes the key columns of indexes
PARTNS Describes partitions of tables and indexes
PROGRAMS Describes SQL program files
TABLES Describes tables, views, and collations
TRANSIDS Stores TMF transaction IDs for current DDL operations on the catalog
USAGES Describes dependencies among SQL objects
VERSIONS Keeps version information about the catalog
VIEWS Describes the attributes of views