ADMIN SHOW REPLICA DISTRIBUTION

description

This statement is used to show the distribution status of a table or a partition replica.

Syntax:

ADMIN SHOW REPLICA DISTRIBUTION FROM [db_name.]tbl_name [PARTITION (p1, ...)];

Note:

The Graph column in the result shows the distribution ratio of replicas graphically.

example

  1. View the replica distribution of tables

    ADMIN SHOW REPLICA DISTRIBUTION FROM tbl1;
  2. View the replica distribution of partitions in the table

    ADMIN SHOW REPLICA DISTRIBUTION FROM db1.tbl1 PARTITION(p1, p2);

keyword

ADMIN,SHOW,REPLICA,DISTRIBUTION