检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
nc,性能最差,但数据最安全。 everysec:每秒调用一次fsync。兼具数据安全和性能。 no appendonly 指定是否在每次更新操作后进行日志记录,Redis在默认情况下是异步的把数据写入磁盘,如果不开启,可能会在断电时导致一段时间内的数据丢失。 单机实例不支持该参数。
String 参数解释: 扩展错误信息(暂未使用,赋值为null)。 取值范围: 不涉及。 请求示例 批量停止数据迁移任务。 POST https://{dcs_endpoint}/v2/{project_id}/migration-task/batch-stop { "migration_tasks"
error_code String 错误码。 error_ext_msg String 扩展错误信息(暂未使用,赋值为null)。 请求示例 GET https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/backups?of
error_ext_msg String 参数解释: 扩展错误信息(暂未使用,赋值为null)。 取值范围: 不涉及。 请求示例 GET https://{dcs_endpoint}/v2/{tenant_id}/migration-task/{task_id}/logs?offse
error_code String 错误码。 error_ext_msg String 扩展错误信息(暂未使用,赋值为null)。 请求示例 GET https://{dcs_endpoint}/v2/a4d31cb6-3d72-4fdc-8ec9-6e3a41e47f71/instances/
error_ext_msg String 参数解释: 扩展错误信息(暂未使用,赋值为null)。 取值范围: 不涉及。 请求示例 GET https://{dcs_endpoint}/v2/{project_id}/config-templates/{template_id}?type=user
error_ext_msg String 参数解释: 扩展错误信息(暂未使用,赋值为null)。 取值范围: 不涉及。 请求示例 PUT https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/nodes/status
如创建、删除、扩容。 API文档 API概览 创建缓存实例 查询DCS产品规格列表 02 购买 分布式缓存服务提供了Web控制台和基于HTTPS请求的RESTful API(Application programming interface)两种管理方式,您可以根据需求购买不同类型和规格的实例。
扩展错误信息(暂未使用,赋值为null)。 取值范围: 不涉及。 请求示例 创建一个在线数据迁移任务,配置在线迁移虚拟机资源的VPC、子网和安全组。 POST https://{dcs_endpoint}/v2/{project_id}/migration/instance { "name" : "dcs-migration-thrc"
error_ext_msg String 参数解释: 扩展错误信息(暂未使用,赋值为null)。 取值范围: 不涉及。 请求示例 GET https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/logical-nodes
error_ext_msg String 参数解释: 扩展错误信息(暂未使用,赋值为null)。 取值范围: 不涉及。 请求示例 POST https://{dcs_endpoint}/v2/{project_id}/instances/export { "included_instances"
Integer 超时时间(单位:秒)。 scan_keys_count Integer 扫描密钥计数。 updated_at String 更新时间,例如:2023-06-15T06:20:13.283Z 状态码: 400 表3 响应Body参数 参数 参数类型 描述 error_msg
CREATING:账号创建中。 AVAILABLE:账号可用。 DELETEFAILED:账号删除失败。 DELETING:账号删除中。 UPDATING:账号更新中。 ERROR:账号异常。 account_role String 账号权限,read:只读账号,write:读写账号。 description
是 String 实例配置项ID。 响应参数 状态码: 200 表4 响应Body参数 参数 参数类型 描述 job_id String 更新配置任务ID。 状态码: 400 表5 响应Body参数 参数 参数类型 描述 error_msg String 参数解释: 错误信息。 取值范围:
mkdir redis && cd redis 执行以下命令下载Redis客户端。此处以下载5.0.13版本的客户端为例。 wget https://download.redis.io/releases/redis-5.0.13.tar.gz 解压Redis,进入Redis目录,执行编译命令后返回redis目录。
GroupBandwidthInfo 参数 参数类型 描述 group_id String 分片ID。 updated_at String 更新时间,UTC时间。 bandwidth Integer 当前带宽(Mbit/s)。 max_bandwidth Integer 最大带宽(Mbit/s)。
实例配置项数组。 取值范围: 不涉及。 config_status String 参数解释: 实例修改状态。 取值范围: UPDATING:更新中。 FAILURE:修改失败。 SUCCESS:修改成功。 status String 参数解释: 实例运行状态。 取值范围: PAYING:订单未支付或处理中。
schedule_at Array of strings 每日分析时间,时间格式为21:00,时间为UTC时间。 updated_at String 配置更新时间,时间格式为2020-06-15T02:21:18.669Z。 状态码: 400 表4 响应Body参数 参数 参数类型 描述 error_msg
schedule_at Array of strings 每日分析时间,时间格式为21:00,时间为UTC时间。 updated_at String 配置更新时间,时间格式为2020-06-15T02:21:18.669Z。 状态码: 400 表4 响应Body参数 参数 参数类型 描述 error_msg
空闲模式,仅打开N个空闲连接并等待。 -P <numreq> :管道请求的并发数量(默认值为1)。 了解redis-benchmark更多详情,请访问:https://redis.io/docs/latest/operate/oss_and_stack/management/optimization/benchmarks/