RDB$INDICES
Go Up to System Tables
RDB$INDICES
defines the index structures that allow InterBase to locate rows in the database more quickly. Because InterBase provides both simple indexes (a single-key column) and multi-segment indexes (multiple-key columns), each index defined in this table must have corresponding occurrences in the RDB$INDEX_SEGMENTS
table.
Column name | Data type | Length | Description |
---|---|---|---|
|
|
67 |
Names the index being defined; if the value of this column changes, change its value in the |
|
|
67 |
Names the table associated with this index; the table must be defined in the |
|
|
Contains an internal identifier for the index being defined; do not write to this column. | |
|
|
Specifies whether the index allows duplicate values. Values:
Eliminate duplicates before creating a unique index. | |
|
|
Subtype Text: User-written description of the index. | |
|
|
Number of segments in the index; a value of 1 indicates a simple index. | |
|
|
Indicates whether the index is:
This is not set for system tables. | |
|
|
Contains an internal identifier for sort order, either ascending (ASC) or descending (DESC):
| |
|
|
67 |
Name of |
|
|
Indicates whether the index is:
| |
|
|
Subtype BLR: Contains the BLR (Binary Language Representation) for the expression, evaluated by the database at execution time; used for PC semantics. | |
|
|
Subtype Text: Contains original text source for the column; used for PC semantics. | |
|
|
Selectivity factor for the index; the optimizer uses index selectivity, a measure of uniqueness for indexed columns, to choose an access strategy for a query. | |
RDB$INDEX_SPLIT_NULL |
SMALLINT |
Indicates if index should store NULL keys in different buckets. |