GBase 8a
运维管理
文章

查看某个表占用的空间

发表于2025-12-25 10:37:4933次浏览2个评论
  • 查看某个表总共占用的空间

select * from information_schema.cluster_tables a where table_schema=‘ssbm’ and table_name=‘lineorder’;

  • 查看每个分片的空间,检查是否均匀分布

select * from information_schema.CLUSTER_TABLE_SEGMENTS a where table_schema=‘ssbm’ and table_name=‘lineorder’;

评论

登录后才可以发表评论
崔哥发表于 4个月前
古木阴中系短篷,杖藜扶我过桥东。沾衣欲湿杏花雨,吹面不寒杨柳风。
崔哥发表于 2个月前
天街小雨润如酥,草色遥看近却无。最是一年春好处,绝胜烟柳满皇都。