GBase 8a
运维管理
文章

GBase 8a-distribution信息查询

发表于2024-10-25 15:51:2128次浏览0个评论

所在数据库:gbase

表名:table_distribution

表结构信息说明:

列 名 描 述 

index_name database.table_name,用来做主键
dbName 表所属的 database name
tbName 表名
isReplicated 是否为复制表;Y - 是; N - 否
hash_column 哈希分布表的数据分布列
lmt_storage_size 暂时不使用
table_storage_size 暂时不使用
is_nocopies 是否为 nocopies 表;Y - 是;N - 否
data_distirbution_id 表数据分布信息的 ID
vc_id 虚拟集群编号
mirror_vc_id 镜像虚拟集群编号

查询表distribution:

select dbName,tbName,data_distribution_id from gbase.table_distribution where dbName='数据库名' and tbName='表名';

评论

登录后才可以发表评论