Note:TencentDB for Redis CKV Edition is currently unavailable. We recommend TencentDB for Redis Memory Edition for you.
TencentDB for Redis CKV Edition (standard architecture) uses a master/replica node deployment architecture to provide data persistence and backup, making it suitable for scenarios that require both high data reliability and availability.
A master node provides daily service access, while a replica node ensures high availability (HA). In case that the master node fails, the system will automatically switch to the replica node to guarantee business continuity. CKV Edition (standard architecture) is compatible with Redis 3.2 commands and protocols and supports a specification of 4–384 GB to meet the needs of large-capacity storage.
pttl
in CKV Edition is second, which is different from Redis Community Edition.instance ID:password
, which is different from that of the Memory Edition in standard or cluster architecture.dbsize
command is O(n). When the command is executed, it needs to traverse all keys in the current database; therefore, it should be used with caution.{ckv_plus_pub_sub}_patterns
, which is used to support the pub/sub feature. If you need to use this feature, please do not delete this key; otherwise, subscriptions will become invalid.volatile-lru
. The eviction mechanism can be disabled with the corresponding parameter maxmemory-policy
.CKV Edition (standard architecture) only supports the password format: instance id:password
. For example, if your instance ID is crs-bkuza6i3 and the password is abcd1234, the connection command is redis-cli -h IP address -p port -a crs-bkuza6i3:abcd1234
.
Commands supported by CKV Edition (standard architecture):
connection Group | geo Group | hashes Group | hyperloglog Group | keys Group | lists Group | pub/sub Group | server Group |
---|---|---|---|---|---|---|---|
auth | geoadd | hdel | pfadd | del | lindex | psubscribe | command |
echo | geohash | hexists | pfcount | scan | linsert | pubsub | dbsize |
ping | geopos | hget | pfmerge | exists | llen | publish | info |
quit | geodist | hgetall | - | expire | lpop | punsubscribe | time |
select | georadius | hincrby | - | expireat | lpush | subscribe | - |
- | georadiusbymember | hincrbyfloat | - | keys | lpushx | unsubscribe | - |
- | - | hkeys | - | type | lrange | - | - |
- | - | hlen | - | move | lrem | - | - |
- | - | hmget | - | ttl | lset | - | - |
- | - | hmset | - | persist | ltrim | - | - |
- | - | hset | - | pexpire | rpop | - | - |
- | - | hsetnx | - | pexpireat | rpoplpush | - | - |
- | - | hstrlen | - | pttl | rpush | - | - |
- | - | hvals | - | randomkey | rpushx | - | - |
- | - | hscan | - | rename | - | - | - |
- | - | - | - | renamenx | - | - | - |
- | - | - | - | sort | - | - | - |
sets Group | sorted sets Group | strings Group | transactions Group | scripting Group |
---|---|---|---|---|
sadd | zadd | append | discard | eval |
scard | zcard | bitcount | exec | script debug |
sdiff | zcount | bitop | multi | script exists |
sdiffstore | zincrby | bitpos | unwatch | script flush |
sinter | zinterstore | decr | watch | script kill |
sinterstore | zlexcount | decrby | - | script load |
sismember | zrange | get | - | - |
smembers | zrangebylex | getbit | - | - |
smove | zrangebyscore | getrange | - | - |
spop | zrank | getset | - | - |
srandmember | zrem | incr | - | - |
srem | zremrangebylex | incrby | - | - |
sscan | zremrangebyrank | incrbyfloat | - | - |
sunion | zremrangebyscore | mget | - | - |
sunionstore | zrevrange | mset | - | - |
- | zrevrangebylex | msetnx | - | - |
- | zrevrangebyscore | psetex | - | - |
- | zrevrank | set | - | - |
- | zscan | setbit | - | - |
- | zscore | setex | - | - |
- | zunionstore | setnx | - | - |
- | - | setrange | - | - |
- | - | strlen | - | - |
Commands not supported by CKV Edition (standard architecture):
cluster Group | connection Group | keys Group | lists Group | scripting Group | server Group | strings Group |
---|---|---|---|---|---|---|
cluster addslots | swapdb | touch | blpop | evalsha | bgrewriteaof | bitfield |
cluster count-failure-reports | - | restore | brpop | - | bgsave | - |
cluster countkeyinslot | - | object | brpoplpush | - | client kill | - |
cluster delslots | - | unlink | - | - | client list | - |
cluster failover | - | wait | - | - | client getname | - |
cluster forget | - | migrate | - | - | client pause | - |
cluster getkeysinslot | - | dump | - | - | client reply | - |
cluster info | - | - | - | - | client setname | - |
cluster keyslot | - | - | - | - | command count | - |
cluster meet | - | - | - | - | command getkeys | - |
cluster nodes | - | - | - | - | command info | - |
cluster replicate | - | - | - | - | config get | - |
cluster reset | - | - | - | - | config rewrite | - |
cluster saveconfig | - | - | - | - | config set | - |
cluster set-config-epoch | - | - | - | - | config resetstat | - |
cluster setslot | - | - | - | - | debug object | - |
cluster slaves | - | - | - | - | debug segfault | - |
cluster slots | - | - | - | - | flushall | - |
readonly | - | - | - | - | flushdb | - |
readwrite | - | - | - | - | lastsave | - |
- | - | - | - | - | monitor | - |
- | - | - | - | - | role | - |
- | - | - | - | - | save | - |
- | - | - | - | - | shutdown | - |
- | - | - | - | - | slaveof | - |
- | - | - | - | - | slowlog | - |
- | - | - | - | - | sync | - |
Was this page helpful?