redis-cli 工具。* 保证客户端与 redis 网络互通。# **操作步骤**运行如下命令,可以在整个实例级别来发现大 key:```Shell(base) [root@rudonx ~]# redis-cli -h xxxxxx.redis.ivolces.com -a xxxx --bigkeysWarning: Using a password with '-a' or '-u' option on the command line interface may not be safe.# Scanning the entire keyspace to find biggest keys as well as# average sizes per key type. You c...
redis.ivolces.com -a xxxxx --hotkeysWarning: Using a password with '-a' or '-u' option on the command line interface may not be safe.# Scanning the entire keyspace to find hot keys as well as# average sizes per key type. You can use -i 0.1 to sleep 0.1 sec# per 100 SCAN commands (not usually needed).[00.00%] Hot key '"key:{tag}:000000000158"' found so far with counter 23[00.00%] Hot key...
getRestoreStates(); }}````### 构造方法根据writerConfiguration配置初始化数据源的连接对象。#### 示例````public RedisWriter(BitSailConfiguration writerConfiguration) { // initialize ttl int ttl = writerConfiguration.getUnNecessaryOption(RedisWriterOptions.TTL, -1); TtlType ttlType; try { ttlType = TtlType.valueOf(StringUtils.upperCase(writerConfiguration.get(RedisWriterOption...
# 问题描述如何使用 Redis-shake 导入物理备份 rdb 文件?# 问题分析缓存数据库 Redis 版 支持下载备份的 rdb 文件,然后通过 Redis-shake 导入到新的实例中# 模拟步骤## 1.准备测试数据使用 redis-benchmark ... target.address = redis-cn******.redis.volces.com:6379target.password_raw = $password```## 数据导入```bash[root@lxb-jms redis-shake-v2.0.3]# ./redis-shake.linux -type=restore -conf=redis-shake....
"InstanceId": "redis-cn0212gzmh2xs****", "RoleName": "Administrator"}] 账号信息列表。关于 AccountInfo 的详细说明,请参见数据结构。 请求示例json POST https://redis.volcengineapi.com/?Action=ListDBAccount&Version=2020-12-07 HTTP/1.1Host: redis.volcengineapi.comContent-Type: application/json; charset=utf-8X-Date: 20201103T104027ZAuthorization: HMAC-SHA256 Credential=AK****/20201103/cn...
请求示例json POST https://redis.volcengineapi.com/?Action=DescribeDBInstanceShards&Version=2020-12-07 HTTP/1.1Host: redis.volcengineapi.comContent-Type: application/json; charset=utf-8X-Date: 20201103T104027ZAuthorization: HMAC-SHA256 Credential=AK****/20201103/cn-beijing/Redis/request,SignedHeaders=content-type;host;x-date,Signature=****{ "InstanceId": "redis-cn0212gzmh2xs****", "PageNum...
Redis 实例的基本信息,包括实例 ID。 ClientToken String 否 WbiAlPqJM6tMoSOYhT**** 用于保证请求的幂等性,防止重复提交请求。由客户端生成该参数值,要保证在不同请求间唯一,大小写敏感且不超过 127 个 ASCII 字符。 返回数据null 请求示例json POST https://redis.volcengineapi.com/?Action=UpgradeAllowListVersion&Version=2020-12-07 HTTP/1.1Host: redis.volcengineapi.comContent-Type: application/json; charset=utf...
说明 Redis 实例支持的参数详情,请参见参数支持。 ClientToken String 否 WbiAlPqJM6tMoSOYhT**** 用于保证请求的幂等性,防止重复提交请求。由客户端生成该参数值,要保证在不同请求间唯一,大小写敏感且不超过 127 个 ASCII 字符。 返回数据null 请求示例json POST https://redis.volcengineapi.com/?Action=ModifyDBInstanceParams&Version=2020-12-07 HTTP/1.1Host: redis.volcengineapi.comContent-Type: application/json;...
WITH ( 'connector' = 'redis', 'redis-mode' = 'single-node', 'host' = '172.0.0.1', 'port' = '6379', 'value-type' = 'string'); WITH参数 通用参数参数 是否必选 默认值 数据类型 描述 connector 是 (none) String 指定使用的连接器,此处是 Redis 连接器。 value-type 否 string Enum Redis 数据库支持的数据类型。取值如下: String:基本的字符串(string)类型。结果表支持set、setex、incrby和incrbyfl...
请求示例json POST https://redis.volcengineapi.com/?Action=DescribeRegions&Version=2020-12-07 HTTP/1.1Host: redis.volcengineapi.comContent-Type: application/json; charset=utf-8X-Date: 20201103T104027ZAuthorization: HMAC-SHA256 Credential=AK****/20201103/cn-beijing/Redis/request,SignedHeaders=content-type;host;x-date,Signature=****{ "RegionId":"cn-beijing"}返回示例正常返回示例 json { "Respo...
Redis 实例的基本信息,包括实例 ID。 ClientToken String 否 WbiAlPqJM6tMoSOYhT**** 用于保证请求的幂等性,防止重复提交请求。由客户端生成该参数值,要保证在不同请求间唯一,大小写敏感且不超过 127 个 ASCII 字符。 返回数据null 请求示例json POST https://redis.volcengineapi.com/?Action=RestartDBInstance&Version=2020-12-07 HTTP/1.1Host: redis.volcengineapi.comContent-Type: application/json; charset=utf-8X-Da...
说明 您可以调用 DescribeDBInstances 接口查询目标地域下所有 Redis 实例的基本信息,包括实例 ID。 返回数据名称 类型 示例值 描述 Active Boolean true 是否启用自动备份,取值范围如下: true:已启用。 false:未启用。 BackupHour Integer 7 开始执行备份的时间段。取值范围为 0 到 23 间的任意整数,其中 0 表示系统会在 00:00~01:00 时段内执行备份,1 表示会在 01:00~02:00 时段内执行备份,以此类推。 BackupType Strin...
说明 您可以调用 DescribeDBInstances 接口查询目标地域下所有 Redis 实例的基本信息,包括实例 ID。 返回数据名称 类型 示例值 描述 AllowLists Array of AllowListInfo 请参见返回示例。 白名单信息列表。关于 AllowLists 的详细说明,请参见数据结构。 请求示例json POST https://redis.volcengineapi.com/?Action=DescribeAllowLists&Version=2020-12-07 HTTP/1.1Host: redis.volcengineapi.comContent-Type: application/j...