tencent cloud

Tencent Cloud Distributed Cache (Redis OSS-Compatible)

Sorted Sets Group

PDF
Focus Mode
Font Size
Last updated: 2026-03-17 18:10:58
Redis versions 2.8 (Standard Architecture), 4.0, 5.0, 6.2, 7.0, and ValKey 8.0 (both Standard Architecture and Cluster Architecture) support the zadd, zcard, zcount, zincrby, zinterstore, zlexcount, zrange, zrangebylex, zrangebyscore, zrank, zrem, zremrangebylex, zremrangebyrank, zremrangebyscore, zrevrange, zrevrangebylex, zrevrangebyscore, zscore, zrevrank, zscan, and zunionstore commands.
Cluster Architecture does not support the zinterstore or zunionstore commands in scenarios involving cross-slot.
For specific information, see the table below. "✓" indicates support, "x" indicates no support, and "-" indicates that the command does not involve scenarios involving cross-slot access.
Command
Redis 7.0/ValKey 8.0 Standard Architecture
Redis 7.0/ValKey 8.0 Cluster Architecture
Redis 6.2 Standard Architecture
Redis 6.2 Cluster Architecture
Redis 5.0 Standard Architecture
Redis 5.0 Cluster Architecture
Redis 4.0 Standard Architecture
Redis 4.0 Cluster Architecture
Redis 2.8 Standard Architecture
Cluster Architecture Support for Cross-Slot
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
-
zdiff
x
x
x
x
x
-
zdiffstore
x
x
x
x
x
-
zinter
x
x
x
x
x
x
x
x
x
-
zrandmember
x
x
x
x
x
-
zrangestore
x
x
x
x
x
-
zunion
x
x
x
x
x
-
zmscore
x
x
x
x
x
-
zmpop
x
x
x
x
x
x
x
-
bzmpop
x
x
x
x
x
x
x
-
zintercard
x
x
x
x
x
x
x
-

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback