| 命令族 | 命令 | 2.8标准架构 | Valkey 8.0/Redis 4.0 及以上标准架构 | Valkey 8.0/Redis 4.0 及以上集群架构 | 集群架构跨 Slot 支持 |
| connection 族 | echo | ✓ | ✓ | ✓ | – |
| | ping | ✓ | ✓ | 自定义 | – |
| | select | ✓ | ✓ | ✓ | – |
| hash 族 | hdel | ✓ | ✓ | ✓ | – |
| | hexists | ✓ | ✓ | ✓ | – |
| | hget | ✓ | ✓ | ✓ | – |
| | hgetall | ✓ | ✓ | ✓ | – |
| | hincrby | ✓ | ✓ | ✓ | – |
| | hincrbyfloat | ✓ | ✓ | ✓ | – |
| | hkeys | ✓ | ✓ | ✓ | – |
| | hlen | ✓ | ✓ | ✓ | – |
| | hmget | ✓ | ✓ | ✓ | – |
| | hmset | ✓ | ✓ | ✓ | – |
| | hset | ✓ | ✓ | ✓ | – |
| | hsetnx | ✓ | ✓ | ✓ | – |
| | hstrlen | ✓ | ✓ | ✓ | – |
| | hvals | ✓ | ✓ | ✓ | – |
| | hscan | ✓ | ✓ | ✓ | – |
| keys 族 | del | ✓ | ✓ | ✓ | ✓ |
| | scan | ✓ | ✓ | 自定义 | – |
| | exists | ✓ | ✓ | ✓ | ✓ |
| | expire | ✓ | ✓ | ✓ | – |
| | expireat | ✓ | ✓ | ✓ | – |
| | type | ✓ | ✓ | ✓ | – |
| | ttl | ✓ | ✓ | ✓ | – |
| | persist | ✓ | ✓ | ✓ | – |
| | pexpire | ✓ | ✓ | ✓ | – |
| | pexpireat | ✓ | ✓ | ✓ | – |
| | pttl | ✓ | ✓ | ✓ | – |
| | randomkey | ✓ | ✓ | ✓ | – |
| | rename | ✓ | ✓ | ✓ | x |
| | renamenx | ✓ | ✓ | ✓ | x |
| | touch | ✓ | ✓ | ✓ | – |
| | restore | ✓ | ✓ | ✓ | – |
| | unlink | x | ✓ | ✓ | x |
| | move | ✓ | ✓ | ✓ | – |
| | dump | ✓ | ✓ | ✓ | – |
| list 族 | lindex | ✓ | ✓ | ✓ | – |
| | linsert | ✓ | ✓ | ✓ | – |
| | llen | ✓ | ✓ | ✓ | – |
| | lpop | ✓ | ✓ | ✓ | – |
| | lpush | ✓ | ✓ | ✓ | – |
| | lpushx | ✓ | ✓ | ✓ | – |
| | lrange | ✓ | ✓ | ✓ | – |
| | lrem | ✓ | ✓ | ✓ | – |
| | lset | ✓ | ✓ | ✓ | – |
| | ltrim | ✓ | ✓ | ✓ | – |
| | rpop | ✓ | ✓ | ✓ | – |
| | rpoplpush | ✓ | ✓ | ✓ | x |
| | rpush | ✓ | ✓ | ✓ | – |
| | rpushx | ✓ | ✓ | ✓ | – |
| | blpop | ✓ | ✓ | ✓ | x |
| | brpop | ✓ | ✓ | ✓ | x |
| | brpoplpush | ✓ | ✓ | ✓ | x |
| sets 族 | sadd | ✓ | ✓ | ✓ | – |
| | scard | ✓ | ✓ | ✓ | – |
| | sdiff | ✓ | ✓ | ✓ | x |
| | sdiffstore | ✓ | ✓ | ✓ | x |
| | sinter | ✓ | ✓ | ✓ | x |
| | sinterstore | ✓ | ✓ | ✓ | x |
| | sismember | ✓ | ✓ | ✓ | – |
| | smembers | ✓ | ✓ | ✓ | – |
| | smove | ✓ | ✓ | ✓ | x |
| | spop | ✓ | ✓ | ✓ | – |
| | srandmember | ✓ | ✓ | ✓ | – |
| | srem | ✓ | ✓ | ✓ | – |
| | sscan | ✓ | ✓ | ✓ | – |
| | sunion | ✓ | ✓ | ✓ | x |
| | sunionstore | ✓ | ✓ | ✓ | x |
| sorted sets 族 | zadd | ✓ | ✓ | ✓ | – |
| | zcard | ✓ | ✓ | ✓ | – |
| | zcount | ✓ | ✓ | ✓ | – |
| | zincrby | ✓ | ✓ | ✓ | – |
| | zinterstore | ✓ | ✓ | ✓ | x |
| | zlexcount | ✓ | ✓ | ✓ | – |
| | zrange | ✓ | ✓ | ✓ | – |
| | zrangebylex | ✓ | ✓ | ✓ | – |
| | zrangebyscore | ✓ | ✓ | ✓ | – |
| | zrank | ✓ | ✓ | ✓ | – |
| | zrem | ✓ | ✓ | ✓ | – |
| | zremrangebylex | ✓ | ✓ | ✓ | – |
| | zremrangebyrank | ✓ | ✓ | ✓ | – |
| | zremrangebyscore | ✓ | ✓ | ✓ | – |
| | zrevrange | ✓ | ✓ | ✓ | – |
| | zrevrangebylex | ✓ | ✓ | ✓ | – |
| | zrevrangebyscore | ✓ | ✓ | ✓ | – |
| | zscore | ✓ | ✓ | ✓ | – |
| | zrevrank | ✓ | ✓ | ✓ | – |
| | zscan | ✓ | ✓ | ✓ | – |
| | zunionstore | ✓ | ✓ | ✓ | x |
| | zpopmax | x | x | x | – |
| | zpopmin | x | x | x | – |
| | bzpopmax | x | x | x | – |
| | bzpopmin | x | x | x | – |
| strings 族 | append | ✓ | ✓ | ✓ | – |
| | bitcount | ✓ | ✓ | ✓ | – |
| | bitop | ✓ | ✓ | ✓ | x |
| | bitpos | ✓ | ✓ | ✓ | – |
| | decr | ✓ | ✓ | ✓ | – |
| | decrby | ✓ | ✓ | ✓ | – |
| | get | ✓ | ✓ | ✓ | – |
| | getbit | ✓ | ✓ | ✓ | – |
| | getrange | ✓ | ✓ | ✓ | – |
| | getset | ✓ | ✓ | ✓ | – |
| | incr | ✓ | ✓ | ✓ | – |
| | incrby | ✓ | ✓ | ✓ | – |
| | incrbyfloat | ✓ | ✓ | ✓ | – |
| | mget | ✓ | ✓ | ✓ | ✓ |
| | mset | ✓ | ✓ | ✓ | ✓ |
| | msetnx | ✓ | ✓ | ✓ | x |
| | psetex | ✓ | ✓ | ✓ | – |
| | setex | ✓ | ✓ | ✓ | – |
| | set | ✓ | ✓ | ✓ | – |
| | setbit | ✓ | ✓ | ✓ | – |
| | setnx | ✓ | ✓ | ✓ | – |
| | setrange | ✓ | ✓ | ✓ | – |
| | strlen | ✓ | ✓ | ✓ | – |
| | bitfield | x | ✓ | ✓ | – |
| hyperloglog 族 | pfadd | ✓ | ✓ | ✓ | – |
| | pfcount | ✓ | ✓ | ✓ | x |
| | pfmerge | ✓ | ✓ | ✓ | x |
| server 族 | client list | ✓ | ✓ | ✓ | – |
| | client getname | ✓ | ✓ | ✓ | – |
| | client setname | ✓ | ✓ | ✓ | – |
| | dbsize | ✓ | ✓ | ✓ | – |
| | info | ✓ | ✓ | 自定义 | – |
| | time | ✓ | ✓ | ✓ | – |
| | lastsave | ✓ | ✓ | ✓ | – |
| | slowlog | ✓ | ✓ | 自定义 | – |
| | cluster keyslot | x | x | ✓ | – |
| | cluster nodes | x | x | ✓ | – |
| | cluster slots | x | x | ✓ | – |
| | cluster info | x | x | ✓ | – |
| | lolwut | x | x | x | – |
腾讯云分布式缓存数据库 DMC 支持命令列表
•
腾讯云产品
DMC(Database Management Center)是腾讯云的一款数据库管理工具,可便捷地访问实例、查看实例的关键指标信息、运行 Redis 命令等。 当前 DMC 支持的 Redis 命令如下表所示,其中 DMC 支持的自定义命令包括:INFO、SLOWLOG、SCAN。具体信息,参见 自定义命令使用示例。下表中 ✓ 表示支持,x 表示不支持,- 表示该命令不存在跨 Slot 访问的场景。
赞 (0)
腾讯云分布式缓存数据库 自定义命令使用示例
上一篇
4天前
腾讯云分布式缓存数据库 Sentinel 模式
下一篇
4天前