SHOW-REPLICA-DISTRIBUTION
Name
SHOW REPLICA DISTRIBUTION
Description
This statement is used to display the distribution status of a table or partition replica
grammar:
1. SHOW REPLICA DISTRIBUTION FROM [db_name.]tbl_name [PARTITION (p1, ...)];
illustrate:
- The Graph column in the result shows the replica distribution ratio in the form of a graph
Example
- View the replica distribution of the table
1. SHOW REPLICA DISTRIBUTION FROM tbl1;
2. View the replica distribution of the partitions of the table
1. SHOW REPLICA DISTRIBUTION FROM db1.tbl1 PARTITION(p1, p2);
Keywords
1. ADMIN, SHOW, REPLICA, DISTRIBUTION
