SHOW TABLET DIAGNOSIS
Descriptionβ
This statement is used to diagnose the specified tablet. The results will show information about the tablet and some potential problems.
grammar:
SHOW TABLET DIAGNOSE TABLET tablet_id
illustrate:
The lines of information in the result are as follows:
- TabletExist: Whether the Tablet exists
- TabletId: Tablet ID
- Database: The DB to which the Tablet belongs and its ID
- Table: The Table to which Tablet belongs and its ID
- Partition: The Partition to which the Tablet belongs and its ID
- MaterializedIndex: The materialized view to which the Tablet belongs and its ID
- Replicas(ReplicaId -> BackendId): Tablet replicas and their BE.
- ReplicasNum: Whether the number of replicas is correct.
- ReplicaBackendStatus: Whether the BE node where the replica is located is normal.
- ReplicaVersionStatus: Whether the version number of the replica is normal.
- ReplicaStatus: Whether the replica status is normal.
- ReplicaCompactionStatus: Whether the replica Compaction status is normal.
Exampleβ
-
Diagnose tablet 10001
SHOW TABLET DIAGNOSE TABLET 10001;
Keywordsβ
SHOW, DIAGNOSIS, TABLET