tencent cloud

Hash Group Keys
Last updated:2025-12-25 17:47:40
Hash Group Keys
Last updated: 2025-12-25 17:47:40
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 hdel, hexists, hget, hgetall, hincrby, hincrbyfloat, hkeys, hlen, hmget, hmset, hset, hsetnx, hstrlen, hvals, and hscan commands. Only versions 6.2, 7.0, and ValKey 8.0 support the hrandfield command. Hash commands are not supported in cross-slot scenarios for cluster architectures. For details, see the table below, where ✓ indicates support, x indicates no support, and - indicates that the command has no cross-slot access scenario.
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
Cross-Slot Support for Cluster Architecture
hdel
-
hexists
-
hget
-
hgetall
-
hincrby
-
hincrbyfloat
-
hkeys
-
hlen
-
hmget
-
hmset
-
hset
-
hsetnx
-
hstrlen
x
-
hvals
-
hscan
-
hrandfield
x
x
x
x
x
-
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback