检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
分析诊断实例 查找Redis实例大Key和热Key 扫描并删除Redis实例的过期Key 诊断Redis实例 查看Redis实例的慢查询记录 查询Redis实例运行日志 查看Redis实例的命令审计日志
如何查询Redis实例的原生版本 连接需要查询的实例,执行info命令: 图1 查询实例信息 父主题: 实例类型/版本
instance_id 是 String 实例ID。 请求参数 表2 请求Body参数 参数 是否必选 参数类型 描述 client_id 否 String 客户端ID。 响应参数 状态码: 400 表3 响应Body参数 参数 参数类型 描述 error_msg String 参数解释: 错误信息。
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
个主节点,1个备节点)。 实例类型 分片数 副本数 负载均衡 占用IP数 单机 单分片 单副本,不支持多副本 - 1个 主备 单分片 默认双副本,支持配置为2-10副本 企业版主备实例仅支持2副本 不支持 占用IP个数=副本数 读写分离 单分片 默认双副本,支持2-6副本 支持 1个
查询维护时间窗时间段 功能介绍 查询维护时间窗开始时间和结束时间。 调用方法 请参见如何调用API。 URI GET /v2/instances/maintain-windows 请求参数 无 响应参数 状态码: 200 表1 响应Body参数 参数 参数类型 描述 maintain_windows
查询主维度信息列表 功能介绍 查询主维度对象列表,主维度ID当前支持dcs_instance_id,dcs_memcached_instance_id。 调用方法 请参见如何调用API。 URI GET /v2/{project_id}/dims/monitored-objects
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
String Key名称。 type String Key类型。 shard String 大key所在的分片,仅在实例类型为集群时支持,格式为ip:port。 db Integer 大key所在的DB。 size Long Key的value大小。 unit String 表示key
必须包含如下四种字符中的三种组合(不允许包含冒号): 小写字母 大写字母 数字 特殊字符包括(`~!@#$^&*()-_=+\|{}'",<.>/?) description 否 String 账号描述。 响应参数 状态码: 400 表3 响应Body参数 参数 参数类型 描述 error_msg String
String Key名称。 type String Key类型。 shard String 大key所在的分片,仅在实例类型为集群时支持,格式为ip:port。 db Integer 大key所在的DB。 size Long Key的value大小。 unit String 表示key
主备倒换 发生主备倒换的原因有哪些? 主备倒换的业务影响 主备实例发生主备倒换后是否需要客户端切换IP? Redis主备节点的数据如何同步?
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
查询维护时间窗时间段 功能介绍 查询维护时间窗开始时间和结束时间。 URI GET /v1.0/instances/maintain-windows 请求消息 请求参数 无。 请求示例 无。 响应消息 响应参数 参数说明见表1。 表1 响应参数说明 参数 类型 备注 maintain_windows
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
查询运行中实例的统计信息 功能介绍 查询当前租户下处于“运行中”状态的缓存实例的统计信息。 URI GET /v1.0/{project_id}/instances/statistic 参数说明见表1。 表1 参数说明 参数 类型 必选 说明 project_id String 是
使用指导 DCS数据安全 DCS使用规范 发现和处理Redis大Key热Key 配置Redis Pipeline 优化Jedis连接池
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted