D.19 RDB$INDICES
RDB$INDICES
stores definitions of both system- and user-defined indexes. The attributes of each column belonging to an index are stored in one row of the table RDB$INDEX_SEGMENTS
.
Column Name | Data Type | Description |
---|---|---|
|
| The unique name of the index specified by the user or automatically generated by the system |
|
| The name of the table to which the index belongs. It corresponds to an identifier in |
|
| The internal (system) identifier of the index |
|
| Specifies whether the index is unique:
|
|
| Could store comments concerning the index |
|
| The number of segments (columns) in the index |
|
| Indicates whether the index is currently active:
|
|
| Distinguishes between an expression index (1) and a regular index (0 or null). Not used in databases created before Firebird 2.0; hence, regular indexes in upgraded databases are more more likely to store null in this column |
|
| The name of the associated Foreign Key constraint, if any |
|
| Indicates whether the index is system-defined or user-defined:
|
|
| Expression for an expression index, written in the binary language representation (BLR), used for calculating the values for the index at runtime. |
|
| The source code of the expression for an expression index |
|
| Stores the last known selectivity of the entire index, calculated by execution of a |