The DescribeDBClusterConfig operation queries the parameter configuration of a community-compatible ClickHouse cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
clickhouse:DescribeDBClusterConfig |
get |
*DBCluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. Call the DescribeRegions operation to query the available region IDs. |
cn-hangzhou |
| DBClusterId |
string |
Yes |
The cluster ID. |
cc-wz988vja2mor4**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
9A23C87D-87DF-4DA0-A50E-CB13F4F7923D |
| Config |
string |
The parameter configuration of the cluster. |
[ { "name": "keep_alive_timeout", "defaultValue": 300, "currentValue": 300, "restart": true, "valueRange": ">0", "desc": "The number of seconds that ClickHouse waits for incoming requests before closing the connection." }, ... ,{ "name": "max_partition_size_to_drop", "defaultValue": 0, "currentValue": 0, "restart": true, "valueRange": ">=0", "desc": "If the size of a MergeTree partition exceeds max_partition_size_to_drop (in bytes), you can’t delete it using a DROP query." } ] |
Examples
Success response
JSON format
{
"RequestId": "9A23C87D-87DF-4DA0-A50E-CB13F4F7923D",
"Config": "[ { \"name\": \"keep_alive_timeout\", \"defaultValue\": 300, \"currentValue\": 300, \"restart\": true, \"valueRange\": \">0\", \"desc\": \"The number of seconds that ClickHouse waits for incoming requests before closing the connection.\" }, ... ,{ \"name\": \"max_partition_size_to_drop\", \"defaultValue\": 0, \"currentValue\": 0, \"restart\": true, \"valueRange\": \">=0\", \"desc\": \"If the size of a MergeTree partition exceeds max_partition_size_to_drop (in bytes), you can’t delete it using a DROP query.\" } ]"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | An error occurred while processing your request. | An error occurred while processing your request. |
| 503 | ServiceUnavailable | An error occurred while processing your request. | An error occurred while processing your request. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.