全部产品
Search
文档中心

云数据库 ClickHouse:DescribeConfigVersionDifference - 查看配置参数变更前后的参数值

更新时间:Jul 17, 2024

调用DescribeConfigVersionDifference接口查看云数据库ClickHouse社区兼容版集群配置参数变更前后的参数值。

接口说明

说明 该接口仅支持 2021 年 12 月 01 日之后创建的社区兼容版集群。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
DBClusterIdstring

集群 ID。您可以通过调用 DescribeDBClusters 接口查询目标地域下所有的集群信息,包括集群 ID。

cc-bp1tm8zf130ew****
ChangeIdstring

变更记录的 ID。您可以通过调用 DescribeConfigHistory 接口查询变更记录的 ID。

1

返回参数

名称类型描述示例值
object

Schema of Response

RequestIdstring

请求 ID。

D0CEC6AC-7760-409A-A0D5-E6CD8660E9CC
OldConfigXMLstring

变更前的配置参数。

"<?xml version="1.0"?> <yandex> <keep_alive_timeout>300</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>150</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>"
NewConfigXMLstring

变更后的配置参数。

"<?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>"

示例

正常返回示例

JSON格式

{
  "RequestId": "D0CEC6AC-7760-409A-A0D5-E6CD8660E9CC",
  "OldConfigXML": "\"<?xml version=\"1.0\"?>\n<yandex>\n    <keep_alive_timeout>300</keep_alive_timeout>\n    <listen_backlog>4096</listen_backlog>\n    <logger>\n        <level>debug</level>\n        <size>1000M</size>\n    </logger>\n    <mark_cache_size>5368709120</mark_cache_size>\n    <max_concurrent_queries>150</max_concurrent_queries>\n    <max_connections>4096</max_connections>\n    <max_partition_size_to_drop>0</max_partition_size_to_drop>\n    <max_table_size_to_drop>0</max_table_size_to_drop>\n    <merge_tree>\n        <max_delay_to_insert>256</max_delay_to_insert>\n        <max_part_loading_threads>auto</max_part_loading_threads>\n        <max_suspicious_broken_parts>100</max_suspicious_broken_parts>\n        <zookeeper_session_expiration_check_period>1</zookeeper_session_expiration_check_period>\n    </merge_tree>\n    <uncompressed_cache_size>1717986918</uncompressed_cache_size>\n</yandex>\"",
  "NewConfigXML": "\"<?xml version=\"1.0\"?>\n<yandex>\n    <keep_alive_timeout>400</keep_alive_timeout>\n    <listen_backlog>4096</listen_backlog>\n    <logger>\n        <level>debug</level>\n        <size>1000M</size>\n    </logger>\n    <mark_cache_size>5368709120</mark_cache_size>\n    <max_concurrent_queries>201</max_concurrent_queries>\n    <max_connections>4096</max_connections>\n    <max_partition_size_to_drop>0</max_partition_size_to_drop>\n    <max_table_size_to_drop>0</max_table_size_to_drop>\n    <merge_tree>\n        <max_delay_to_insert>256</max_delay_to_insert>\n        <max_part_loading_threads>auto</max_part_loading_threads>\n        <max_suspicious_broken_parts>100</max_suspicious_broken_parts>\n        <zookeeper_session_expiration_check_period>1</zookeeper_session_expiration_check_period>\n    </merge_tree>\n    <uncompressed_cache_size>1717986918</uncompressed_cache_size>\n</yandex>\""
}

错误码

HTTP status code错误码错误信息
400IdempotentParameterMismatchThe request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.

访问错误中心查看更多错误码。

变更历史

变更时间变更内容概要操作
2022-09-22新增 OpenAPI查看变更详情