GS_LOGICAL_INDEX
GS_LOGICAL_INDEX系统表存储了索引的部分信息,其他的信息存储在GS_LOGICAL_CLASS系统表中。
|
字段名称 |
字段类型 |
说明 |
|---|---|---|
|
indexrelid |
Oid |
索引的OID。 |
|
indrelid |
Oid |
它所引用的RELATION OID。 |
|
indnatts |
smallint |
索引中的总列数。 |
|
indisunique |
boolean |
是否是唯一索引。 |
|
indisprimary |
boolean |
这个索引是否为主键。 |
|
csnmin |
bigint |
插入元组时的 CSN(提交序列号)。 |
|
csnmax |
bigint |
更新或删除元组时的 CSN。 |
|
createtime |
timestamp with time zone |
插入元组的时间戳。 |
|
originid |
integer |
元组的来源标识符。 |
|
dbnode |
oid |
数据库OID。 |
|
indimmediate |
boolean |
是否立即执行唯一性约束。 |
|
indisvalid |
boolean |
此索引是否可用于查询。 |
|
indisready |
boolean |
此索引是否准备好接受插入。 |
|
indisusable |
boolean |
此索引是否可用于插入和选择。 |
|
indkey |
int2vector |
索引列的列编号。 |
|
indcollation |
oidvector |
排序标识符。 |
|
indpred |
pg_node_tree |
如果是部分索引,则为谓词的表达式树;否则为 NULL。 |
|
indisreplident |
boolean |
索引是否被标识为复制标识索引。 |