rds__CreateSqlLimit
Creates an SQL throttling rule for a Huawei Cloud RDS instance by setting maximum concurrency and wait time for a specified database and query.
Instructions
[RDS] 新增SQL限流
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"db_name": "<db_name>",
"instance_id": "<instance_id>",
"max_concurrency": "<max_concurrency>",
"max_waiting": "<max_waiting>",
"project_id": "<project_id>"
},
"name": "rds__CreateSqlLimit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db_name | Yes | 数据库名称。 | |
| query_id | No | 由SQL的语法解析树计算出的内部哈希码,默认为0,取值范围(-9223372036854775808~ 9223372036854775807)。 | |
| project_id | Yes | 项目ID | |
| instance_id | Yes | 实例ID | |
| max_waiting | Yes | 最大等待时间,单位为秒。 | |
| search_path | No | 为不是模式限定的名称设置模式搜索顺序,默认为public。 | |
| query_string | No | SQL语句的文本形式。(注:query_id与query_string只可以存在一个) | |
| max_concurrency | Yes | 同时执行的SQL数量,小于等于0表示不限制,默认为0,取值范围(-1~50000)。 |