检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
error_ext_msg String 参数解释: 扩展错误信息(暂未使用,赋值为null)。 取值范围: 不涉及。 请求示例 PUT https://{dcs_endpoint}/v2/{project_id}/config-templates/{template_id} {
nc,性能最差,但数据最安全。 everysec:每秒调用一次fsync。兼具数据安全和性能。 no appendonly 指定是否在每次更新操作后进行日志记录,Redis在默认情况下是异步的把数据写入磁盘,如果不开启,可能会在断电时导致一段时间内的数据丢失。 单机实例不支持该参数。
扩展错误信息(暂未使用,赋值为null)。 取值范围: 不涉及。 请求示例 创建一个Redis5.0单机实例的自定义模板。 POST https://{dcs_endpoint}/v2/{project_id}/config-templates { "name" : "Test"
String 错误码。 error_ext_msg String 扩展错误信息(暂未使用,赋值为null)。 请求示例 DELETE https://{dcs_endpoint}/v2/a4d31cb6-3d72-4fdc-8ec9-6e3a41e47f71/instances/
error_ext_msg String 参数解释: 扩展错误信息(暂未使用,赋值为null)。 取值范围: 不涉及。 请求示例 GET https://{dcs_endpoint}/v2/{project_id}/instances/status?include_failure=true
error_ext_msg String 参数解释: 扩展错误信息(暂未使用,赋值为null)。 取值范围: 不涉及。 请求示例 GET https://{dcs_endpoint}/v2/a4d31cb6-3d72-4fdc-8ec9-6e3a41e47f71/instances/
参见API概览。 分布式缓存服务提供了REST(Representational State Transfer)风格API,支持您通过HTTPS请求调用,调用方法请参见如何调用API。 部分接口仅在指定region支持,请以实际为准。 DCS服务持续增加新的功能,将不可避免对现有接口有所调整,比如增加响应参数。
String 项目ID instance_id 是 String 实例ID。 请求消息 请求参数 无 请求示例 请求URL: GET https://{dcs_endpoint}/v1.0/{project_id}/instance/{instance_id}/groups 响应消息
在华为云ECS中执行以下命令下载RedisShake,本文以下载2.0.3版本为例进行说明。您可以根据实际需要下载其他RedisShake版本。 wget https://github.com/tair-opensource/RedisShake/releases/download/release-v2
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)。 取值范围: 不涉及。 请求示例 POST https://{dcs_endpoint}/v2/{project_id}/migration-tasks/batch-restart {
error_code String 错误码。 error_ext_msg String 扩展错误信息(暂未使用,赋值为null)。 请求示例 POST https://{dcs_endpoint}/v2/a4d31cb6-3d72-4fdc-8ec9-6e3a41e47f71/instances/
error_ext_msg String 参数解释: 扩展错误信息(暂未使用,赋值为null)。 取值范围: 不涉及。 请求示例 GET https://{dcs_endpoint}/v2/a4d31cb6-3d72-4fdc-8ec9-6e3a41e47f71/instances/
安装gcc、make和hiredis。 如果系统没有自带编译环境,可以使用yum方式安装。 yum install gcc make 下载并解压hiredis。 wget https://github.com/redis/hiredis/archive/master.zip unzip master.zip 进入到解压目录后编译安装。
参数。 参数修改的任务状态“成功”后,修改参数成功。 缓存实例配置参数说明 表1中的内存优化相关参数可以参考Redis官网说明,链接:https://redis.io/topics/memory-optimization。 不同实例类型和版本支持配置的参数和取值可能略有不同,控制
error_ext_msg String 参数解释: 扩展错误信息(暂未使用,赋值为null)。 取值范围: 不涉及。 请求示例 GET https://{dcs_endpoint}/v2/{project_id}/instances-logical-nodes?offset={offset}&limit={limit}