Modifies the parameters of a specified PolarDB cluster.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | No | ModifyDBClusterParameters |
The operation that you want to perform. Set the value to ModifyDBClusterParameters. |
DBClusterId | String | Yes | pc-************** |
The ID of the cluster. |
Parameters | String | Yes | {"auto_increment_increment":"1","character_set_filesystem":"utf8"} |
The JSON string that consists of parameters and values. The parameter values are strings,
for example, Note You can call the DescribeDBClusterParameters operation to view the parameters of the PolarDB cluster.
|
EffectiveTime | String | No | Auto |
The time when the modified values of parameters take effect. Valid values:
Default value: Auto. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | D0CEC6AC-7760-409A-A0D5-E6CD86****** |
The ID of the request. |
Examples
Sample requests
http(s)://polardb.aliyuncs.com/? Action=ModifyDBClusterParameters
&DBClusterId=pc-**************
&Parameters={"auto_increment_increment":"1","character_set_filesystem":"utf8"}
&<Common request parameters>
Sample success responses
XML
format
<ModifyDBClusterParametersResponse>
<RequestId>D0CEC6AC-7760-409A-A0D5-E6CD86******</RequestId>
</ModifyDBClusterParametersResponse>
JSON
format
{
"RequestId": "D0CEC6AC-7760-409A-A0D5-E6CD86******"
}
Error codes
For a list of error codes, visit the API Error Center.