Stops one or more query statements that are being executed on an ApsaraDB for ClickHouse cluster.
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | KillProcess |
The operation that you want to perform. Set the value to KillProcess. |
RegionId | String | Yes | cn-hangzhou |
The region ID of the cluster. You can call the DescribeRegions operation to query the most recent region list. |
DBClusterId | String | Yes | cc-bp108z124a8o7**** |
The ID of the cluster. |
InitialQueryId | String | No | SELECT * FROM `test01` ; |
The query statement or query statements that you want to stop executing. If you want to stop executing multiple query statements, separate the statements with commas (,). Note If you do not configure this parameter, all query statements are stopped.
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 05321590-BB65-4720-8CB6-8218E041CDD0 |
The ID of the request. |
Examples
Sample requests
http(s)://clickhouse.aliyuncs.com/?Action=KillProcess
&RegionId=cn-hangzhou
&DBClusterId=cc-bp108z124a8o7****
&InitialQueryId=SELECT * FROM `test01` ;
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<KillProcessResponse>
<RequestId>05321590-BB65-4720-8CB6-8218E041CDD0</RequestId>
</KillProcessResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "05321590-BB65-4720-8CB6-8218E041CDD0"
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
500 | InternalError | An error occurred while processing your request. | The error message returned because an internal error has occurred. Try again later. |
503 | ServiceUnavailable | An error occurred while processing your request. | The error message returned because the service is unavailable. Try again later. |
For a list of error codes, visit the API Error Center.