GBase 8a
运维管理
文章

GBase8a查询各类表数量

发表于2025-04-11 15:16:3361次浏览1个评论

gccli登录数据库:

use gbase;

随机分布表数量为 select count(*) from gbase.table_distribution where hash_column is null and isReplicate = 'NO';

复制表数量为 select count(*) from gbase.table_distribution where isReplicate = 'YES';

hash分布表数量为 select count(*) from gbase.table_distribution where hash_column is not null;

评论

登录后才可以发表评论
GBase用户51884发表于 2个月前
向大佬学习