All Products
Search
Document Center

ApsaraDB for ClickHouse:ModifyDBClusterConfigInXML

Last Updated:Jul 17, 2024

Modifies the settings of the configuration parameters for an ApsaraDB for ClickHouse cluster.

Operation description

Note You can call this operation only for ApsaraDB for ClickHouse clusters that were created after December 1, 2021.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
DBClusterIdstringYes

The cluster ID. You can call the DescribeDBClusters operation to query information about all the clusters that are deployed in a specific region. The information includes the cluster IDs.

cc-bp108z124a8o7****
ConfigstringYes

The configuration parameters whose settings you want to modify. You can call the DescribeDBClusterConfigInXML operation to query configuration parameters, and modify the settings of the returned configuration parameters.

Note You must specify all configuration parameters even when you want to modify the setting of a single parameter. If a configuration parameter is not specified, the original value of this parameter is retained or the modification fails.
<?xml version="1.0"?> <yandex> <keep_alive_timeout>400</keep_alive_timeout> <listen_backlog>4096</listen_backlog> <logger> <level>debug</level> <size>1000M</size> </logger> <mark_cache_size>5368709120</mark_cache_size> <max_concurrent_queries>201</max_concurrent_queries> <max_connections>4096</max_connections> <max_partition_size_to_drop>0</max_partition_size_to_drop> <max_table_size_to_drop>0</max_table_size_to_drop> <merge_tree> <max_delay_to_insert>256</max_delay_to_insert> <max_part_loading_threads>auto</max_part_loading_threads> <max_suspicious_broken_parts>100</max_suspicious_broken_parts> <zookeeper_session_expiration_check_period>1</zookeeper_session_expiration_check_period> </merge_tree> <uncompressed_cache_size>1717986918</uncompressed_cache_size> </yandex>
RegionIdstringNo

The region ID of the cluster. You can call the DescribeRegions operation to query the most recent region list.

cn-hangzhou
ReasonstringNo

The reason for the modification.

test

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The request ID.

BDD29EB1-BE76-5CFA-9068-D34B696310BF

Examples

Sample success responses

JSONformat

{
  "RequestId": "BDD29EB1-BE76-5CFA-9068-D34B696310BF"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2022-09-22Add OperationView Change Details