检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
ha:表示主备实例 cluster:表示cluster集群实例 proxy:表示Proxy集群实例 ha_rw_split: 表示读写分离实例 description String 参数解释: 模板的描述信息。 取值范围: 不涉及。 engine String 参数解释: 缓存引擎。 取值范围:
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 package com.huaweicloud.sdk.test;
计费模式。 取值范围: Hourly:按需计费 Monthly:包月计费 Yearly:包周期计费 tenant_ip_count Integer 参数解释: 租户侧IP数量。 取值范围: 不涉及。 pricing_type String 参数解释: 定价类型。 取值范围: tier:阶梯定价,一个规格对应多个容量。
通过SCAN非阻塞式的获取key,避免KEYS命令造成Redis服务阻塞。 支持所有数据类型的迁移。 把SCAN和DUMP/RESTORE操作放在同一个管道中,利用pipeline提升数据迁移过程中的网络效率。 不使用任何临时文件,不占用磁盘空间。 使用带缓冲区的channels,提升源服务器的性能。 约束与限制
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
创建CCE节点池时,“节点类型”请选择“弹性云服务器-虚拟机”,“容器引擎”请选择“Docker”,“操作系统”请选择“CentOS 7.6”,并需要绑定“弹性公网IP”,选择“使用已有”或“自动创建”。 操作流程 制作客户端镜像 下载Redis客户端。 登录CCE集群节点。 单击创建完成的CCE节点池名
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
获取账户名和账号ID 在调用接口的时候,部分URL中需要填入账户名和账号ID,所以需要先在管理控制台上获取到账户名和账号ID。账户名和账号ID获取步骤如下: 注册并登录管理控制台。 鼠标悬停在右上角的用户名,选择下拉列表中的“我的凭证”。 在“API凭证”页面查看账号名和账号ID。 图1 查看账号名和账号ID
PS请求的RESTful API(Application programming interface)管理方式。 Web管理控制台方式 您注册后登录管理控制台,单击主页左上角服务列表,选择“应用中间件 > 分布式缓存服务 Redis版”,进入DCS的管理界面。 Web管理控制台D
测试执行机规格 通用计算增强型 | c6.xlarge.2 | 4vCPUs | 8GB 测试命令 redis-benchmark -h {IP} -p {Port} -a {password} -n {nreqs} -r {randomkeys} -c {connection} -d
必须包含如下四种字符中的三种组合(不允许包含冒号): 小写字母 大写字母 数字 特殊字符包括(`~!@#$^&*()-_=+\|{}'",<.>/?) 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
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
String Key名称。 type String Key类型。 shard String 大key所在的分片,仅在实例类型为集群时支持,格式为ip:port。 db Integer 大key所在的DB。 size Long Key的value大小。 unit String 表示key
r集群分片的主备节点,请在实例详情的“节点管理”(或“分片与副本”)页签中操作,具体操作可参考管理DCS实例分片与副本。 实例主备切换后,IP地址不变,不需要切换客户端连接地址。 约束与限制 只有当DCS缓存实例处于“运行中”状态,才能执行此操作。 主备节点切换期间,业务会发生少
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
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted