请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
Action | String | 是 | DescribeDrdsParams | 系统规定参数,取值:DescribeDrdsParams。 |
DrdsInstanceId | String | 是 | DescribeDrdsParams | DRDS 实例 ID |
ParamLevel | String | 是 | INSTANCE | 参数级别,取值:INSTANCE,DB |
DbName | String | 否 | drds_test | DRDS 数据库名 |
RegionId | String | 否 | cn-hangzhou | 地区 ID |
返回数据
名称 | 类型 | 示例值 | 描述 |
List | 参数列表 |
||
RequestId | String | 2F7F8080-9132-4279-85D0-B7E5C4305162 | 请求 ID |
Success | Boolean | true | 是否成功 |
示例
请求示例
http(s)://[Endpoint]/?Action=DescribeDrdsParams &DrdsInstanceId=DescribeDrdsParams &ParamLevel=INSTANCE &<公共请求参数>
正常返回示例
XML
格式
<DescribeDrdsParams> <RequestId>29D7422F-24DD-42D8-A04E-EBCE4B4A416A</RequestId> <List> <ParamLevel>INSTANCE</ParamLevel> <ParamRanges>[1000-900000]</ParamRanges> <ParamVariableName>slowSqlTime</ParamVariableName> <ParamEnglishName>SLOW_SQL_TIME</ParamEnglishName> <NeedRestart>false</NeedRestart> <ParamValue>1000</ParamValue> <ParamDefaultValue>1000</ParamDefaultValue> <DbName></DbName> <UserVisible>true</UserVisible> <ParamName>慢SQL阈值</ParamName> <ParamType>CONFIG</ParamType> <ParamDesc>慢SQL阈值(单位:ms)</ParamDesc> </List> <List> <ParamLevel>INSTANCE</ParamLevel> <ParamRanges>[3600000-86400000]</ParamRanges> <ParamVariableName>idleTimeout</ParamVariableName> <ParamEnglishName>LOGIC_IDLE_TIMEOUT</ParamEnglishName> <NeedRestart>false</NeedRestart> <ParamValue>28800000</ParamValue> <ParamDefaultValue>28800000</ParamDefaultValue> <DbName></DbName> <UserVisible>true</UserVisible> <ParamName>逻辑空闲链接超时</ParamName> <ParamType>CONFIG</ParamType> <ParamDesc>用户和DRDS的链接空闲时间(单位:ms)</ParamDesc> </List> <List> <ParamLevel>INSTANCE</ParamLevel> <ParamRanges>[4194304-33554432]</ParamRanges> <ParamVariableName>maxAllowedPacket</ParamVariableName> <ParamEnglishName>MAX_ALLOWED_PACKET</ParamEnglishName> <NeedRestart>false</NeedRestart> <ParamValue>16777216</ParamValue> <ParamDefaultValue>16777216</ParamDefaultValue> <DbName></DbName> <UserVisible>true</UserVisible> <ParamName>最大包大小</ParamName> <ParamType>CONFIG</ParamType> <ParamDesc>用户和DRDS交互的最大网络包大小, 单位:字节</ParamDesc> </List> <List> <ParamLevel>INSTANCE</ParamLevel> <ParamRanges>[1073741824-6442450944]</ParamRanges> <ParamVariableName>GLOBAL_MEMORY_LIMIT</ParamVariableName> <ParamEnglishName>GLOBAL_MEMORY_LIMIT</ParamEnglishName> <NeedRestart>false</NeedRestart> <ParamValue>2147483648</ParamValue> <ParamDefaultValue>2147483648</ParamDefaultValue> <DbName></DbName> <UserVisible>true</UserVisible> <ParamName>只读实例内存池大小限制</ParamName> <ParamType>CONFIG</ParamType> <ParamDesc>如果单个实例上内存消耗超过该限制,则查询报错中止</ParamDesc> </List> <Success>true</Success> </DescribeDrdsParams>
JSON
格式
{ "RequestId":"29D7422F-24DD-42D8-A04E-EBCE4B4A416A", "Success":true, "List":[ { "NeedRestart":false, "ParamEnglishName":"SLOW_SQL_TIME", "ParamDesc":"慢SQL阈值(单位:ms)", "ParamName":"慢SQL阈值", "DbName":"", "ParamValue":"1000", "ParamType":"CONFIG", "ParamLevel":"INSTANCE", "UserVisible":true, "ParamDefaultValue":"1000", "ParamVariableName":"slowSqlTime", "ParamRanges":"[1000-900000]" }, { "NeedRestart":false, "ParamEnglishName":"LOGIC_IDLE_TIMEOUT", "ParamDesc":"用户和DRDS的链接空闲时间(单位:ms)", "ParamName":"逻辑空闲链接超时", "DbName":"", "ParamValue":"28800000", "ParamType":"CONFIG", "ParamLevel":"INSTANCE", "UserVisible":true, "ParamDefaultValue":"28800000", "ParamVariableName":"idleTimeout", "ParamRanges":"[3600000-86400000]" }, { "NeedRestart":false, "ParamEnglishName":"MAX_ALLOWED_PACKET", "ParamDesc":"用户和DRDS交互的最大网络包大小, 单位:字节", "ParamName":"最大包大小", "DbName":"", "ParamValue":"16777216", "ParamType":"CONFIG", "ParamLevel":"INSTANCE", "UserVisible":true, "ParamDefaultValue":"16777216", "ParamVariableName":"maxAllowedPacket", "ParamRanges":"[4194304-33554432]" }, { "NeedRestart":false, "ParamEnglishName":"GLOBAL_MEMORY_LIMIT", "ParamDesc":"如果单个实例上内存消耗超过该限制,则查询报错中止", "ParamName":"只读实例内存池大小限制", "DbName":"", "ParamValue":"2147483648", "ParamType":"CONFIG", "ParamLevel":"INSTANCE", "UserVisible":true, "ParamDefaultValue":"2147483648", "ParamVariableName":"GLOBAL_MEMORY_LIMIT", "ParamRanges":"[1073741824-6442450944]" } ] }
错误码
访问错误中心查看更多错误码。