HPlogo ALLBASE/SQL Database Administration Guide: HP 3000 MPE/iX Computer Systems > Chapter 8  System Catalog

System.TPIndex

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

SYSTEM.TPINDEX contains an entry for each third-party index associated with the IMAGE datasets associated with this DBEnvironment. Third-party indexes cannot be used in association with normal ALLBASE/SQL tables. In ALLBASE/SQL terms the datasets are viewed as tables within the DBEnvironment.

Table 8-39  System.TPIndex

Column NameTypeLengthDescription
INDEXNAMECHAR20Name of the index
TABLENAMECHAR20Name of the table on which the index or hash structure is defined
OWNERCHAR20Owner of the table on which the index is defined
UNIQUESMALLINT2

Uniqueness indicator:

0

if duplicates are allowed, that is, the index is not unique

1

if duplicates are not allowed, that is the index is unique

CLUSTERSMALLINT2

Clustering indicator:

0

if the index is not a clustering index

1

if the index is the clustering index for the table

NUMCINTEGER4Number of columns in the index or hash key
COLNUMSBINARY64A vector of column numbers, each of type SMALLINT, identifying the columns the index is defined over. In ISQL, each SMALLINIT (two-byte) entry is displayed as a field of 4 hexadecimal digits.
NPAGESINTEGER4Number of index pages containing the index
NLEVELSINTEGER4Number of B-tree levels
NLEAVESINTEGER4Number of B-tree leaf pages
NDISTINCTINTEGER4Number of distinct keys
NFirstINTEGER4Number of distinct First column values of the B-tree key
NPERKEYINTEGER4Number of pages per B-tree key
CCOUNTINTEGER4

Cluster count; indicates how well the data of the index is sorted

0

before First UPDATE STATISTICS statement is processed

n

efficiency of clustering: best clustering if n=NPATES of table indexed; worst if n=NROWS of table indexed

CTIMECHAR16Time of creation: yyyymmddhhsstt
COLDIRSBINARY64

A vector of direction entries, each of type SMALLINT indicating the direction of the corresponding column in the index definition. In ISQL, each SMALLINIT (two-byte) entry is displayed as a field of 4 hexadecimal digits.

5

ASC (Ascending)

6

DESC (Descending)

 

Feedback to webmaster