Skip to main content
SHOW TABLET displays tablet related information.
NOTE For v3.0 and later, this operation requires the SYSTEM-level OPERATE privilege and TABLE-level SELECT privilege. For v2.5 and earlier, this operation requires the ADMIN_PRIV privilege.

Syntax

Query information of tablets in a table or a partition

Query information of a single tablet

After obtaining all tablet IDs using SHOW TABLET FROM <table_name>, you can query the information of a single tablet.

Description of return fields

Query information of tablets in a table or a partition

Query information of a specific tablet

Examples

Create table test_show_tablet in the database example_db.
  • Example 1: Query information of all the tablets in the specified table. The following example excerpts information of only one tablet from the return information.
  • Example 2: Query information of tablet 9588955.
  • Example 3: Query information of tablets in partition p20210103.
  • Example 4: Return information of 10 tablets.
  • Example 5: Return information of 10 tablets with an offset 5.
  • Example 6: Filter tablets by backendid, version, and state.
  • Example 7: Sort tablets by version.
  • Example 8: Return information of tablets whose index name is test_show_tablet.