检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
获取节点IP和端口的方式请参考(以MEMORY USAGE为例): 执行命令cluster keyslot key查询key所在的slot号。 执行icluster nodes查询不同slot区间对应的IP地址及端口,获取key值对应slot号区间对应的IP和端口。 如果执行icluster
过期的判断,从而释放已过期的Key。 约束与限制 只有Redis 4.0及以上版本实例支持过期key扫描,企业版实例不支持。 DCS不支持查询已释放的过期Key。 建议在业务低峰时段执行过期Key扫描,降低CPU被用满的可能。 扫描并删除Redis实例的过期Key 登录分布式缓存服务管理控制台。
String 错误码。 error_ext_msg String 扩展错误信息(暂未使用,赋值为null)。 请求示例 DELETE https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/accounts/{account_id}
error_ext_msg String 参数解释: 扩展错误信息(暂未使用,赋值为null)。 取值范围: 不涉及。 请求示例 DELETE https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/autoscaling-policy/bandwidth
error_code String 错误码。 error_ext_msg String 扩展错误信息(暂未使用,赋值为null)。 请求示例 PUT https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/accounts/{account_id}
是否必选 参数类型 描述 query_time 否 Integer 日期偏移量,表示从过去的n天开始查询,默认为0。取值范围:0,1,3,7。取值说明:传入0则表示查询今天的日志,传入7则表示查询过去7天的日志。 log_type 是 String 返回日志的类型,当前仅支持Redis运行日志,类型为run。
为了提高安全性,可以只输入-p,不在其后输入密码,执行命令后再根据命令行提示输入密码。 xxxxxx --skip-column-names 不在查询结果中写入列名。 无需设置 --raw 输出列的值时不进行转义。 无需设置 Redis-cli之后的-h Redis的连接地址。 redis-xxxxxxxxxxxx
错误信息。 error_code String 错误码。 error_ext_msg String 扩展错误信息。 请求示例 POST https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/clients/kill
error_ext_msg String 参数解释: 扩展错误信息(暂未使用,赋值为null)。 取值范围: 不涉及。 请求示例 GET https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/version 响应示例
导入方式与其他类型的Redis实例也有差异。Cluster集群的数据,必须由客户端分别连接各分片节点,将数据分别导入。各分片节点的IP地址查询命令: redis-cli -h {Redis Cluster IP} -p 6379 -a {password} cluster nodes
参数类型 描述 spec_code 是 String 变更后的产品规格编码。具体查询方法如下: 方法一:登录分布式缓存的控制台,在创建缓存实例页面,查找对应的实例规格名称。 方法二:调用查询产品规格接口查询。 new_capacity 是 Integer 新的缓存实例规格,单位:GB。
error_ext_msg String 扩展错误信息(暂未使用,赋值为null)。 请求示例 创建ACL只读权限账号,账号名为user。 POST https:///{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/accounts
error_code String 错误码。 error_ext_msg String 扩展错误信息(暂未使用,赋值为null)。 请求示例 POST https://{dcs_endpoint}/v2/a4d31cb6-3d72-4fdc-8ec9-6e3a41e47f71/instances/
error_code String 错误码。 error_ext_msg String 扩展错误信息(暂未使用,赋值为null)。 请求示例 POST https://{dcs_endpoint}/v2/a4d31cb6-3d72-4fdc-8ec9-6e3a41e47f71/instances/
error_ext_msg String 参数解释: 扩展错误信息(暂未使用,赋值为null)。 取值范围: 不涉及。 请求示例 POST https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/webcli/logout
error_code String 错误码。 error_ext_msg String 扩展错误信息(暂未使用,赋值为null)。 请求示例 PUT https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/accounts/{
error_code String 错误码。 error_ext_msg String 扩展错误信息(暂未使用,赋值为null)。 请求示例 PUT https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/accounts/{
error_ext_msg String 参数解释: 扩展错误信息(暂未使用,赋值为null)。 取值范围: 不涉及。 请求示例 PUT https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/bandwidths
除单机实例外,其他类型的实例都提供Region内的跨可用区部署,实现实例内部节点间的电力、网络层面物理隔离。 有关开源Redis技术细节,您可以访问Redis官方网站https://redis.io/了解。 华为云DCS Redis 6.0企业版。 华为云DCS 企业版,为华为云全自研的版本,由传统的maste
表5和表6列举了Redis 5.0读写分离支持的命令。 各个命令的具体详细语法请前往Redis官方网站查看,例如您想了解SCAN命令的使用,可在Redis官方网站中搜索框中输入“SCAN”查询详细介绍。 Redis高版本的命令,在低版本中不被兼容。判断DCS Redis是否支持某个命令,