gaussdb__SetGaussMySqlProxyWeight
Configure read/write splitting weights for a GaussDB MySQL proxy by assigning master and read-only node weights to control query distribution.
Instructions
[GAUSSDB] 设置读写分离权重。
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": {
"instance_id": "<instance_id>",
"project_id": "<project_id>",
"proxy_id": "<proxy_id>"
},
"name": "gaussdb__SetGaussMySqlProxyWeight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| proxy_id | Yes | 数据库代理ID,严格匹配UUID规则。 | |
| project_id | Yes | 租户在某一region下的project ID。 | |
| instance_id | Yes | 实例ID,严格匹配UUID规则。 | |
| master_weight | No | 主节点权重 | |
| readonly_nodes | No | 只读节点权重配置信息 |