ADMIN SHOW REPLICA DISTRIBUTION

description

  1. 该语句用于展示一个表或分区副本分布状态
  2. 语法:
  3. ADMIN SHOW REPLICA DISTRIBUTION FROM [db_name.]tbl_name [PARTITION (p1, ...)];
  4. 说明:
  5. 结果中的 Graph 列以图形的形式展示副本分布比例

example

  1. 1. 查看表的副本分布
  2. ADMIN SHOW REPLICA DISTRIBUTION FROM tbl1;
  3. 2. 查看表的分区的副本分布
  4. ADMIN SHOW REPLICA DISTRIBUTION FROM db1.tbl1 PARTITION(p1, p2);

keyword

  1. ADMIN,SHOW,REPLICA,DISTRIBUTION