全部文档
当前文档

暂无内容

如果没有找到您期望的内容,请尝试其他搜索词

文档中心

缓存服务参数详情

最近更新时间:2024-09-05 10:28:31

DescribeCacheParameters

查询缓存服务参数详情。

请求方式

GET

请求参数

关于所有操作需要的通用参数,参照请见-公共请求头

英文名称

中文名称

类型

是否必填

备注

Action

接口名称

String

固定值:DescribeCacheParameters

Version

接口版本

String

固定值:2016-07-01

AvailableZone

可用区

String

默认:对应机房的a区

CacheId

缓存服务ID

String

缓存服务ID

返回结果

英文名称

中文名称

类型

备注

RequestId

请求ID

String

请求标识

Data

返回数据信息

Object

参考请见 - 参数组参数

错误信息

关于所有操作返回的错误信息,参照请见-通用异常信息

请求示例

https://kcs.api.ksyun.com/?Action=DescribeCacheParameters&Version=2016-07-01&CacheId=xxx

响应示例

{
    "RequestId":"cd261ef0-71f2-4d11-b74c-875b6455b",
    "Data":[
        {
            "name":"maxmemory-policy",
            "desc":"Redis淘汰策略",
            "defaultValue":"volatile-lru",
            "currentValue":"volatile-lru",
            "validity":{
                "type":"enum",
                "dataType":"string",
                "value":null,
                "values":[
                    "volatile-lru",
                    "allkeys-lru",
                    "volatile-random",
                    "allkeys-random",
                    "volatile-ttl",
                    "noeviction"
                ],
                "min":null,
                "max":null
            }
        },
        {
            "name":"list-max-ziplist-entries",
            "desc":"内部数据结构优化的阈值",
            "defaultValue":"512",
            "currentValue":"512",
            "validity":{
                "type":"range",
                "dataType":"integer",
                "value":null,
                "values":null,
                "min":"0",
                "max":"9007199254740990"
            }
        },
        {
            "name":"zset-max-ziplist-entries",
            "desc":"内部数据结构优化的阈值",
            "defaultValue":"128",
            "currentValue":"128",
            "validity":{
                "type":"range",
                "dataType":"integer",
                "value":null,
                "values":null,
                "min":"0",
                "max":"9007199254740990"
            }
        },
        {
            "name":"hash-max-ziplist-entries",
            "desc":"内部数据结构优化的阈值",
            "defaultValue":"512",
            "currentValue":"512",
            "validity":{
                "type":"range",
                "dataType":"integer",
                "value":null,
                "values":null,
                "min":"0",
                "max":"9007199254740990"
            }
        },
        {
            "name":"hash-max-ziplist-value",
            "desc":"内部数据结构优化的阈值",
            "defaultValue":"64",
            "currentValue":"64",
            "validity":{
                "type":"range",
                "dataType":"integer",
                "value":null,
                "values":null,
                "min":"0",
                "max":"9007199254740990"
            }
        },
        {
            "name":"list-max-ziplist-value",
            "desc":"内部数据结构优化的阈值",
            "defaultValue":"64",
            "currentValue":"64",
            "validity":{
                "type":"range",
                "dataType":"integer",
                "value":null,
                "values":null,
                "min":"0",
                "max":"9007199254740990"
            }
        },
        {
            "name":"appendonly",
            "desc":"是否开启AOF持久化功能",
            "defaultValue":"no",
            "currentValue":"no",
            "validity":{
                "type":"enum",
                "dataType":"string",
                "value":null,
                "values":[
                    "yes",
                    "no"
                ],
                "min":null,
                "max":null
            }
        },
        {
            "name":"notify-keyspace-events",
            "desc":"键空间通知配置",
            "defaultValue":"",
            "currentValue":"",
            "validity":{
                "type":"regexp",
                "dataType":"string",
                "value":"[KEg$lshzxeA]*",
                "values":null,
                "min":null,
                "max":null
            }
        },
        {
            "name":"zset-max-ziplist-value",
            "desc":"内部数据结构优化的阈值",
            "defaultValue":"64",
            "currentValue":"64",
            "validity":{
                "type":"range",
                "dataType":"integer",
                "value":null,
                "values":null,
                "min":"0",
                "max":"9007199254740990"
            }
        },
        {
            "name":"set-max-intset-entries",
            "desc":"内部数据结构优化的阈值",
            "defaultValue":"512",
            "currentValue":"512",
            "validity":{
                "type":"range",
                "dataType":"integer",
                "value":null,
                "values":null,
                "min":"0",
                "max":"9007199254740990"
            }
        },
        {
            "name":"timeout",
            "desc":"连接空闲超时时间",
            "defaultValue":"600",
            "currentValue":"600",
            "validity":{
                "type":"range",
                "dataType":"integer",
                "value":null,
                "values":null,
                "min":"0",
                "max":"86400"
            }
        },
        {
            "name":"maxmemory-samples",
            "desc":"淘汰算法运行时的采样数",
            "defaultValue":"3",
            "currentValue":"3",
            "validity":{
                "type":"range",
                "dataType":"integer",
                "value":null,
                "values":null,
                "min":"1",
                "max":"10"
            }
        },
        {
            "name":"appendfsync",
            "desc":"AOF文件同步方式",
            "defaultValue":"everysec",
            "currentValue":"everysec",
            "validity":{
                "type":"enum",
                "dataType":"string",
                "value":null,
                "values":[
                    "everysec",
                    "always",
                    "no"
                ],
                "min":null,
                "max":null
            }
        }
    ]
}

文档导读
纯净模式常规模式

纯净模式

点击可全屏预览文档内容
文档反馈