GBase 8a
运维管理
文章

GBase 8a-重分布状态信息表

发表于2024-06-28 09:30:19265次浏览2个评论

所在数据库:gclusterdb

表名:rebalancing_status

表结构信息说明:

列 名    描 述

index_name    数据库名.表名

db_name    数据库名

table_name    表名

tmptable    rebalance 任务执行时使用的中间表名称。如果不 使用中间表,那么该字段值为 NULL。

start_time    在 STARTING 状态时,表示任务加入的时间。在 RUNNING 状态时,start_time 表示任务更改为RUNNING 的时间。

end_time    表示 rebalance 任务结束的时间。

status    表示 rebalance 任务的当前状态。

percentage    表示 rebalance 任务的执行进度。

priority    表示 rebalance 任务的优先级。值最小的优先执行。

host    表示 rebalance 任务被哪个 coordinator 节点执行。

distribution_id    表示 rebalance 任务要把表 rebalance 到哪个 distribution id。

 

查询重分布已完成数量:select count(1) from gclusterdb.rebalancing_status where status = 'COMPLETED' ;

查询重分布未完成数量:select count(1) from gclusterdb.rebalancing_status where status != 'COMPLETED' ;

评论

登录后才可以发表评论
崔哥发表于 9个月前
虚心向前辈学习
用户头像
levvel发表于 7个月前
人生贵相知,何用金与钱