VeloDB Cloud
SQL Manual
Statments
Database-Administration-Statements
ADMIN-CHECK-TABLET

ADMIN-CHECK-TABLET

Name

ADMIN CHECK TABLET

Description

This statement is used to perform the specified check operation on a set of tablets.

Syntax:

ADMIN CHECK TABLE (tablet_id1, tablet_id2, ...) 
PROPERTIES("type" = "...");

Note:

  1. A list of tablet ids must be specified along with the type property in PROPERTIES.

  2. Type supports:

    • consistency: check the consistency of the replica of the tablet. This command is an asynchronous command. After sending, Doris will start to execute the consistency check job of the corresponding tablet. The final result will be reflected in the InconsistentTabletNum column in the result of SHOW PROC "/cluster_health/tablet_health";.

Example

  1. Perform a replica data consistency check on a specified set of tablets.

    ADMIN CHECK TABLET (10000, 10001) 
    PROPERTIES("type" = "consistency");

Keywords

ADMIN, CHECK, TABLET

Best Practice