Top Bad Tables
top_bad_tablesIdentifies tables with the lowest health scores in StarRocks, using optional database/table filters and a configurable top N, to help prioritize optimization efforts.
Instructions
Get top bad tables by table health score
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db | No | Optional database/schema filter. Matches table health db_name exactly. | |
| table | No | Optional table name substring filter. Matches table_name with LIKE. | |
| top_n | No | Number of bad tables to return. Defaults to 20 and is capped at 100. |