Skip to content

Commit

Permalink
Update sql-statements/sql-statement-calibrate-resource.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hfxsd authored Jul 6, 2023
1 parent 30bc3af commit 228f69c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-calibrate-resource.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ CALIBRATE RESOURCE START_TIME '2023-04-18 08:00:00' DURATION '60m';
ERROR 1105 (HY000): The workload in selected time window is too low, with which TiDB is unable to reach a capacity estimation; please select another time window with higher workload, or calibrate resource by hardware instead
```

The capacity estimation function requires monitoring metrics data according to the actual workload, including `resource_manager_resource_unit`, `process_cpu_usage`, `tikv_cpu_quota`, and `tidb_server_maxprocs`. If the corresponding monitor data is empty, an error is reported with the corresponding monitor item name, as shown in the following example. When there is no workload, `resource_manager_resource_unit` is empty, and this error is also reported.
The capacity estimation function requires monitoring metrics data according to the actual workload, including `resource_manager_resource_unit`, `process_cpu_usage`, `tikv_cpu_quota`, and `tidb_server_maxprocs`. If the corresponding monitor data is empty, an error occurs with the corresponding monitor item name, as shown in the following example. When there is no workload, `resource_manager_resource_unit` is empty, and this error also occurs.

```sql
CALIBRATE RESOURCE START_TIME '2023-04-18 08:00:00' DURATION '60m';
Expand Down

0 comments on commit 228f69c

Please sign in to comment.