SHOW TABLETS
This statement is used to list tablets of the specified table (only for administrators)
grammar:
SHOW TABLETS FROM [database.]table [PARTITIONS(p1,p2)] [WHERE where_condition] [ORDER BY col_name] [LIMIT [offset,] row_count]
where_condition could be one of:
Version = version state = "NORMAL|ROLLUP|CLONE|DECOMMISSION" BackendId = backend_id IndexName = rollup_name
or compound them with operator AND.
list all tablets of the specified table
SHOW TABLETS FROM example_db.table_name;
list all tablets of the specified partitions
SHOW TABLETS FROM example_db.table_name PARTITIONS(p1, p2);
list all DECOMMISSION tablets on the specified backend
SHOW TABLETS FROM example_db.table_name WHERE state="DECOMMISSION" AND BackendId=11003;
SHOW, TABLETS