SHOW-TABLETS-BELONG
Name
SHOW TABLETS BELONG
Description
该语句用于展示指定 Tablets 归属的表的信息
语法:
SHOW TABLETS BELONG tablet-ids;
说明:
- tablet-ids:代表一到多个 tablet-id 构成的列表。如有多个,使用逗号分隔
- 结果中 table 相关的信息和
SHOW-DATA
语句的口径一致
Example
-
展示 3 个 tablet-id 的相关信息(tablet-id 可去重)
SHOW TABLETS BELONG 27028,78880,78382,27028;
+---------------------+-----------+-----------+--------------+-----------+--------------+----------------+ | DbName | TableName | TableSize | PartitionNum | BucketNum | ReplicaCount | TabletIds | +---------------------+-----------+-----------+--------------+-----------+--------------+----------------+ | default_cluster:db1 | kec | 613.000 B | 379 | 604 | 604 | [78880, 78382] | | default_cluster:db1 | test | 1.874 KB | 1 | 1 | 1 | [27028] | +---------------------+-----------+-----------+--------------+-----------+--------------+----------------+ ```
Keywords
SHOW, TABLETS, BELONG