GaussDB-PGXC_CLASS
PGXC_CLASS系统表存储每张表的复制或分布信息。
| 名称 | 类型 | 描述 |
|---|---|---|
| pcrelid | oid | 表的OID。 |
| pclocatortype | "char" | 定位器类型。- H:hash |
- G:Range
- L:List
- M:Modulo
- N:Round Robin
- R:Replication
- U:MurmurHash | | pchashalgorithm | smallint | 使用哈希算法分布元组。- 1:默认的哈希算法。
- 2:MURMURHASH算法。 | | pchashbuckets | smallint | 哈希容器的值。 | | pgroup | name | 节点群的名称。 | | redistributed | "char" | 表已经完成重分布。 | | redis_order | integer | 重分布的顺序。该值等于0的表在本轮重分布过程中不进行重分布。 | | pcattnum | int2vector | 用作分布键的列标号。 | | nodeoids | oidvector_extend | 表分布的节点OID列表。 | | options | text | 系统内部保留字段,存储扩展状态信息。 | | diskey | text | SQL建表语句中,DISTRIBUTE BY子句括号中分布列表达式的字符串内容。目前只支持MURMURHASH分布。 | | diskeyexprs | pg_node_tree | diskey通过pack_node_to_string()函数序列化得到的字符串信息。 |
更多详情请参考GaussDB 文档中心:doc.hcs.huawei.com/db/zh-cn/ga…