doris_get_compaction_status
Diagnose compaction lag by counting rowset versions per tablet and returning the top N tablets with the highest version accumulation.
Instructions
排查 compaction 落后:按 tablet 统计 rowset(版本)数量(information_schema.rowsets)。 单个 tablet 的 rowset 数持续偏高说明 compaction 跟不上写入。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "doris_get_compaction_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | 返回版本堆积最多的前 N 个 tablet |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |