Tair provides instances of multiple editions and architectures. The commands supported by these instances vary based on the instance type. This topic describes the native Redis commands supported by Tair and the limits of these commands.
Usage notes
Cluster and read/write splitting instances do not support the SWAPDB, CLIENT ID, or SORT (with the BY and GET options) command, and have limits on specific commands. For more information, see Limits on commands supported by cluster instances and Limits on the commands supported by read/write splitting instances.
Supported commands
Tair instance series are compatible with multiple open source Redis versions.
Tair DRAM-based instances that are compatible with Redis 6.0: Redis 6.2 and earlier. In addition, this instance series supports the extended data structures of Tair.
Tair DRAM-based instances that are compatible with Redis 5.0: Redis 5.0 and earlier. In addition, this instance series supports the extended data structures of Tair.
Tair Persistent memory-optimized instances: Redis 6.0 and earlier. This instance series has limits on specific commands. For more information, see Limits on commands supported by Tair instances.
Tair ESSD-based instances: Redis 4.0 and earlier. This instance series has limits on specific commands. For more information, see Limits on commands supported by Tair instances.
Symbols that are used in this topic:
✔️ indicates that this command is supported.
❌ indicates that this command is not supported.
➖ indicates that the command is not supported in open source Redis. For example, the TOUCH command is supported only by Redis 3.2.1 and later. This command is marked as ➖ in the Redis 2.8 column of the table.
Footnote ①: If you want to run the command on a cluster instance, you must enable the direct connection mode to use a private endpoint to connect to the instance. For more information, see Use a private endpoint to connect to a Tair instance. You can also run the command if you use the endpoint of a proxy node to connect to an instance.
Footnote ②: The CONFIG SET command returns only
OK
. The command does not modify the parameters. This ensures that the instance remains compatible with specific client frameworks.In this topic, instances of the latest minor version are used. Part of the commands is supported only for instances of versions later than a specific version. For more information, see Release notes for Tair minor versions and Release notes for Tair proxy nodes.
By default, commands in all command groups are supported by Tair standard instances, cluster instances, and read/write splitting instances. For more information about instance architectures, see Architectures.
Command | Redis 2.8 | Redis 4.0 | Redis 5.0 | Redis 6.0 | Redis 7.0 |
---|---|---|---|---|---|
BITCOUNT | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
BITFIELD | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
BITFIELD_RO | ➖ | ➖ | ➖ | ✔️ | ✔️ |
BITOP | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
BITPOS | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
GETBIT | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
SETBIT | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
- The commands in the cluster command group are not supported by standard instances.
- However, if you use the endpoint of a proxy node to connect to an instance, specific commands in the cluster command group are supported. These commands include CLUSTER INFO, CLUSTER KEYSLOT, CLUSTER NODES, CLUSTER SLAVES, and CLUSTER SLOTS.
- The READONLY and READWRITE commands are supported as of minor versions 0.1.14 of ApsaraDB for Redis 5.0 and 6.0.
Command | Redis 2.8 | Redis 4.0 | Redis 5.0 | Redis 6.0 | Redis 7.0 |
---|---|---|---|---|---|
CLUSTER ADDSLOTS | ➖ | ❌ | ❌ | ❌ | ❌ |
CLUSTER ADDSLOTSRANGE | ➖ | ➖ | ➖ | ➖ | ❌ |
CLUSTER BUMPEPOCH | ➖ | ❌ | ❌ | ❌ | ❌ |
CLUSTER COUNT-FAILURE-REPORTS | ➖ | ❌ | ❌ | ❌ | ❌ |
CLUSTER COUNTKEYSINSLOT ① | ➖ | ❌ | ❌ | ❌ | ❌ |
CLUSTER DELSLOTS | ➖ | ❌ | ❌ | ❌ | ❌ |
CLUSTER DELSLOTSRANGE | ➖ | ➖ | ➖ | ➖ | ❌ |
CLUSTER FAILOVER | ➖ | ❌ | ❌ | ❌ | ❌ |
CLUSTER FLUSHSLOTS | ➖ | ❌ | ❌ | ❌ | ❌ |
CLUSTER FORGET | ➖ | ❌ | ❌ | ❌ | ❌ |
CLUSTER GETKEYSINSLOT | ➖️ | ❌ | ❌ | ❌ | ❌ |
CLUSTER INFO ① | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
CLUSTER KEYSLOT ① | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
CLUSTER LINKS | ➖️ | ➖️ | ➖️ | ➖️ | ❌ |
CLUSTER MEET | ➖ | ❌ | ❌ | ❌ | ❌ |
CLUSTER MYID | ➖ | ❌ | ❌ | ❌ | ❌ |
CLUSTER NODES ① | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
CLUSTER REPLICAS | ➖ | ➖ | ❌ | ❌ | ❌ |
CLUSTER REPLICATE | ➖ | ❌ | ❌ | ❌ | ❌ |
CLUSTER RESET | ➖ | ❌ | ❌ | ❌ | ❌ |
CLUSTER SAVECONFIG | ➖ | ❌ | ❌ | ❌ | ❌ |
CLUSTER SET-CONFIG-EPOCH | ➖ | ❌ | ❌ | ❌ | ❌ |
CLUSTER SETSLOT | ➖ | ❌ | ❌ | ❌ | ❌ |
CLUSTER SHARDS | ➖ | ➖ | ➖ | ➖ | ✔️ |
CLUSTER SLAVES | ➖ | ❌ | ❌ | ❌ | ❌ |
CLUSTER SLOTS | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
READONLY | ➖ | ❌ | ✔️️ | ✔️ | ✔️ |
READWRITE | ➖ | ❌ | ✔️ | ✔️ | ✔️ |
The CLIENT ID and HELLO commands are not supported by cluster instances in proxy mode or read/write splitting instances. To run these commands, use cluster instances in direct connection mode.
Command | Redis 2.8 | Redis 4.0 | Redis 5.0 | Redis 6.0 | Redis 7.0 |
---|---|---|---|---|---|
AUTH | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
CLIENT CACHING | ➖ | ➖ | ➖ | ✔️ | ✔️ |
CLIENT GETNAME | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
CLIENT GETREDIR | ➖ | ➖ | ➖ | ✔️ | ✔️ |
CLIENT ID | ➖ | ➖ | ✔️ | ✔️ | ✔️ |
CLIENT INFO | ➖ | ➖ | ➖ | ➖ | ✔️ |
CLIENT KILL | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
CLIENT LIST | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
CLIENT NO-EVICT | ➖ | ➖ | ➖ | ➖ | ✔️ |
CLIENT PAUSE | ➖ | ❌ | ❌ | ❌ | ❌ |
CLIENT REPLY | ➖ | ❌ | ❌ | ❌ | ❌ |
CLIENT SETNAME | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
CLIENT TRACKING | ➖ | ➖ | ➖ | ✔️ | ✔️ |
CLIENT TRACKINGINFO | ➖ | ➖ | ➖ | ➖ | ✔️ |
CLIENT UNBLOCK | ➖ | ➖ | ✔️ | ✔️ | ✔️ |
CLIENT UNPAUSE | ➖ | ➖ | ➖ | ➖ | ❌ |
ECHO | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
HELLO | ➖ | ➖ | ➖ | ✔️ | ✔️ |
PING | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
QUIT | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
RESET | ➖ | ➖ | ➖ | ➖ | ✔️ |
SELECT | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
- The SORT (with the BY and GET options) command is not supported by cluster instances or read/write splitting instances.
- The WAIT command is not supported by cluster instances in proxy mode or read/write splitting instances. To run this command, use cluster instances in direct connection mode.
Command | Redis 2.8 | Redis 4.0 | Redis 5.0 | Redis 6.0 | Redis 7.0 |
---|---|---|---|---|---|
COPY | ➖ | ➖ | ➖ | ➖ | ✔️ |
DEL | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
DUMP | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
EXISTS | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
EXPIRE | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
EXPIREAT | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
EXPIRETIME | ➖ | ➖ | ➖ | ➖ | ✔️ |
KEYS | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
MIGRATE | ❌ | ❌ | ❌ | ❌ | ❌ |
MOVE | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
OBJECT | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
OBJECT HELP | ➖ | ➖ | ➖ | ➖ | ✔️ |
PERSIST | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
PEXPIRE | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
PEXPIREAT | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
PEXPIRETIME | ➖ | ➖ | ➖ | ➖ | ✔️ |
PTTL | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
RANDOMKEY | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
RENAME | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
RENAMENX | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
RESTORE | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
SCAN | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
SORT | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
SORT_RO | ➖ | ➖ | ➖ | ➖ | ✔️ |
TOUCH | ➖ | ✔️ | ✔️ | ✔️ | ✔️ |
TTL | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
TYPE | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
UNLINK | ➖ | ✔️ | ✔️ | ✔️ | ✔️ |
WAIT | ➖ | ✔️ | ✔️ | ✔️ | ✔️ |
Command | Redis 2.8 | Redis 4.0 | Redis 5.0 | Redis 6.0 | Redis 7.0 |
---|---|---|---|---|---|
GEOADD | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
GEODIST | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
GEOHASH | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
GEOPOS | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
GEORADIUS | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
GEORADIUSBYMEMBER | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
GEOSEARCH | ➖ | ➖ | ➖ | ➖ | ✔️ |
GEOSEARCHSTORE | ➖ | ➖ | ➖ | ➖ | ✔️ |
Command | Redis 2.8 | Redis 4.0 | Redis 5.0 | Redis 6.0 | Redis 7.0 |
---|---|---|---|---|---|
HDEL | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
HEXISTS | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
HGET | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
HGETALL | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
HINCRBY | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
HINCRBYFLOAT | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
HKEYS | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
HLEN | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
HMGET | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
HMSET | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
HRANDFIELD | ➖ | ➖ | ➖ | ➖ | ✔️ |
HSCAN | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
HSET | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
HSETNX | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
HSTRLEN | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
HVALS | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
Command | Redis 2.8 | Redis 4.0 | Redis 5.0 | Redis 6.0 | Redis 7.0 |
---|---|---|---|---|---|
PFADD | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
PFCOUNT | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
PFMERGE | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
Command | Redis 2.8 | Redis 4.0 | Redis 5.0 | Redis 6.0 | Redis 7.0 |
---|---|---|---|---|---|
BLPOP | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
BLMOVE | ➖ | ➖ | ➖ | ➖ | ✔️ |
BLMPOP | ➖ | ➖ | ➖ | ➖ | ✔️ |
BRPOP | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
BRPOPLPUSH | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
LINDEX | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
LINSERT | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
LLEN | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
LMOVE | ➖ | ➖ | ➖ | ➖ | ✔️ |
LMPOP | ➖ | ➖ | ➖ | ➖ | ✔️ |
LPOP | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
LPUSH | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
LPUSHX | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
LRANGE | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
LREM | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
LSET | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
LTRIM | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
RPOP | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
RPOPLPUSH | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
RPUSH | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
RPUSHX | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
Command | Redis 2.8 | Redis 4.0 | Redis 5.0 | Redis 6.0 | Redis 7.0 |
---|---|---|---|---|---|
PSUBSCRIBE | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
PUBLISH | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
PUBSUB | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
PUBSUB HELP | ➖ | ➖ | ➖ | ➖ | ✔️ |
PUBSUB SHARDCHANNELS | ➖ | ➖ | ➖ | ➖ | ✔️ |
PUBSUB SHARDNUMSUB | ➖ | ➖ | ➖ | ➖ | ✔️ |
PUNSUBSCRIBE | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
SPUBLISH | ➖ | ➖ | ➖ | ➖ | ✔️ |
SUBSCRIBE | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
SSUBSCRIBE | ➖ | ➖ | ➖ | ➖ | ✔️ |
SUNSUBSCRIBE | ➖ | ➖ | ➖ | ➖ | ✔️ |
UNSUBSCRIBE | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
Command | Redis 2.8 | Redis 4.0 | Redis 5.0 | Redis 6.0 | Redis 7.0 |
---|---|---|---|---|---|
EVAL | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
EVAL_RO | ➖ | ➖ | ➖ | ➖ | ✔️ |
EVALSHA | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
EVALSHA_RO | ➖ | ➖ | ➖ | ➖ | ✔️ |
FCALL | ➖ | ➖ | ➖ | ➖ | ✔️ |
FCALL_RO | ➖ | ➖ | ➖ | ➖ | ✔️ |
FUNCTION DELETE | ➖ | ➖ | ➖ | ➖ | ✔️ |
FUNCTION DUMP | ➖ | ➖ | ➖ | ➖ | ✔️ |
FUNCTION FLUSH | ➖ | ➖ | ➖ | ➖ | ✔️ |
FUNCTION HELP | ➖ | ➖ | ➖ | ➖ | ✔️ |
FUNCTION KILL | ➖ | ➖ | ➖ | ➖ | ✔️ |
FUNCTION LIST | ➖ | ➖ | ➖ | ➖ | ✔️ |
FUNCTION LOAD | ➖ | ➖ | ➖ | ➖ | ✔️ |
FUNCTION RESTORE | ➖ | ➖ | ➖ | ➖ | ✔️ |
FUNCTION STATS | ➖ | ➖ | ➖ | ➖ | ✔️ |
SCRIPT DEBUG | ➖ | ❌ | ❌ | ❌ | ❌ |
SCRIPT EXISTS | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
SCRIPT FLUSH | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
SCRIPT KILL | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
SCRIPT LOAD | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
The SWAPDB command is not supported by cluster instances or read/write splitting instances.
Command | Redis 2.8 | Redis 4.0 | Redis 5.0 | Redis 6.0 | Redis 7.0 |
---|---|---|---|---|---|
ACL CAT | ➖ | ➖ | ➖ | ❌ | ❌ |
ACL DELUSER | ➖ | ➖ | ➖ | ❌ | ❌ |
ACL DRYRUN | ➖ | ➖ | ➖ | ➖ | ❌ |
ACL GENPASS | ➖ | ➖ | ➖ | ❌ | ❌ |
ACL GETUSER | ➖ | ➖ | ➖ | ❌ | ❌ |
ACL HELP | ➖ | ➖ | ➖ | ❌ | ❌ |
ACL LIST | ➖ | ➖ | ➖ | ❌ | ❌ |
ACL LOAD | ➖ | ➖ | ➖ | ❌ | ❌ |
ACL LOG | ➖ | ➖ | ➖ | ❌ | ❌ |
ACL SAVE | ➖ | ➖ | ➖ | ❌ | ❌ |
ACL SETUSER | ➖ | ➖ | ➖ | ❌ | ❌ |
ACL USERS | ➖ | ➖ | ➖ | ❌ | ❌ |
ACL WHOAMI | ➖ | ➖ | ➖ | ❌ | ✔️ |
BGREWRITEAOF | ❌ | ❌ | ❌ | ❌ | ❌ |
BGSAVE | ❌ | ❌ | ❌ | ❌ | ❌ |
COMMAND | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
COMMAND COUNT | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
COMMAND DOCS | ➖ | ➖ | ➖ | ➖ | ✔️ |
COMMAND GETKEYS | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
COMMAND GETKEYSANDFLAGS | ➖ | ➖ | ➖ | ➖ | ✔️ |
COMMAND INFO | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
COMMAND LIST | ➖ | ➖ | ➖ | ➖ | ✔️ |
CONFIG GET | ✔️ | ✔️ | ✔️ | ✔️ | ❌ |
CONFIG HELP | ➖ | ➖ | ✔️ | ✔️ | ❌ |
CONFIG RESETSTAT | ✔️ | ✔️ | ✔️ | ✔️ | ❌ |
CONFIG REWRITE | ❌ | ❌ | ❌ | ❌ | ❌ |
CONFIG SET ② | ✔️ | ✔️ | ✔️ | ✔️ | ❌ |
DBSIZE | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
DEBUG OBJECT | ❌ | ❌ | ❌ | ❌ | ❌ |
DEBUG SEGFAULT | ❌ | ❌ | ❌ | ❌ | ❌ |
FAILOVER | ➖ | ➖ | ➖ | ➖ | ❌ |
FLUSHALL | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
FLUSHDB | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
INFO | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
LASTSAVE | ❌ | ❌ | ❌ | ❌ | ❌ |
LATENCY DOCTOR | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
LATENCY GRAPH | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
LATENCY HELP | ❌ | ❌ | ✔️ | ✔️ | ✔️ |
LATENCY HISTOGRAM | ➖ | ➖ | ➖ | ➖ | ✔️ |
LATENCY HISTORY | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
LATENCY LATEST | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
LATENCY RESET | ✔️ | ✔️ | ✔️ | ✔️ | ➖ |
LOLWUT | ➖ | ➖ | ✔️ | ✔️ | ✔️ |
MEMORY DOCTOR | ➖ | ✔️ | ✔️ | ✔️ | ✔️ |
MEMORY HELP | ➖ | ✔️ | ✔️ | ✔️ | ✔️ |
MEMORY MALLOC-STATS | ➖ | ✔️ | ✔️ | ✔️ | ✔️ |
MEMORY PURGE | ➖ | ✔️ | ✔️ | ✔️ | ✔️ |
MEMORY STATS | ➖ | ✔️ | ✔️ | ✔️ | ✔️ |
MEMORY USAGE | ➖ | ✔️ | ✔️ | ✔️ | ✔️ |
MODULE LIST | ➖ | ❌ | ❌ | ❌ | ❌ |
MODULE LOAD | ➖ | ❌ | ❌ | ❌ | ❌ |
MODULE LOADEX | ➖ | ➖ | ➖ | ➖ | ❌ |
MODULE UNLOAD | ➖ | ❌ | ❌ | ❌ | ❌ |
MONITOR | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
PSYNC | ❌ | ❌ | ❌ | ❌ | ❌ |
REPLICAOF | ➖ | ➖ | ❌ | ❌ | ❌ |
ROLE | ❌ | ✔️ | ✔️ | ✔️ | ✔️ |
SAVE | ❌ | ❌ | ❌ | ❌ | ❌ |
SHUTDOWN | ❌ | ❌ | ❌ | ❌ | ❌ |
SLAVEOF | ❌ | ❌ | ❌ | ❌ | ❌ |
SLOWLOG | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
SLOWLOG HELP | ➖ | ➖ | ➖ | ➖ | ✔️ |
SLOWLOG RESET | ❌ | ❌ | ❌ | ❌ | ❌ |
SWAPDB | ➖ | ✔️ | ✔️ | ✔️ | ✔️ |
SYNC | ❌ | ❌ | ❌ | ❌ | ❌ |
TIME | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
Command | Redis 2.8 | Redis 4.0 | Redis 5.0 | Redis 6.0 | Redis 7.0 |
---|---|---|---|---|---|
SENTINEL sentinels | ❌ | ✔️ | ✔️ | ✔️ | ✔️ |
SENTINEL get-master-addr-by-name | ❌ | ✔️ | ✔️ | ✔️ | ✔️ |
Command | Redis 2.8 | Redis 4.0 | Redis 5.0 | Redis 6.0 | Redis 7.0 |
---|---|---|---|---|---|
SADD | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
SCARD | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
SDIFF | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
SDIFFSTORE | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
SINTER | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
SINTERCARD | ➖ | ➖ | ➖ | ➖ | ✔️ |
SINTERSTORE | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
SISMEMBER | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
SMEMBERS | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
SMISMEMBER | ❌ | ❌ | ❌ | ❌️ | ✔️ |
SMOVE | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
SPOP | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
SRANDMEMBER | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
SREM | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
SSCAN | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
SUNION | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
SUNIONSTORE | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
Command | Redis 2.8 | Redis 4.0 | Redis 5.0 | Redis 6.0 | Redis 7.0 |
---|---|---|---|---|---|
BZMPOP | ➖ | ➖ | ➖ | ➖ | ✔️ |
BZPOPMAX | ➖ | ➖ | ✔️ | ✔️ | ✔️ |
BZPOPMIN | ➖ | ➖ | ✔️ | ✔️ | ✔️ |
ZADD | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
ZCARD | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
ZCOUNT | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
ZDIFF | ➖ | ➖ | ➖ | ➖ | ✔️ |
ZDIFFSTORE | ➖ | ➖ | ➖ | ➖ | ✔️ |
ZINCRBY | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
ZINTER | ➖ | ➖ | ➖ | ➖ | ✔️ |
ZINTERCARD | ➖ | ➖ | ➖ | ➖ | ✔️ |
ZINTERSTORE | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
ZLEXCOUNT | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
ZMPOP | ➖ | ➖ | ➖ | ➖ | ✔️ |
ZMSCORE | ➖ | ➖ | ➖ | ➖ | ✔️ |
ZPOPMAX | ➖ | ➖ | ✔️ | ✔️ | ✔️ |
ZPOPMIN | ➖ | ➖ | ✔️ | ✔️ | ✔️ |
ZRANDMEMBER | ➖ | ➖ | ➖ | ➖ | ✔️ |
ZRANGE | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
ZRANGEBYLEX | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
ZRANGEBYSCORE | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
ZRANGESTORE | ➖ | ➖ | ➖ | ➖ | ✔️ |
ZRANK | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
ZREM | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
ZREMRANGEBYLEX | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
ZREMRANGEBYRANK | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
ZREMRANGEBYSCORE | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
ZREVRANGE | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
ZREVRANGEBYLEX | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
ZREVRANGEBYSCORE | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
ZREVRANK | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
ZSCAN | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
ZSCORE | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
ZUNION | ➖ | ➖ | ➖ | ➖ | ✔️ |
ZUNIONSTORE | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
Command | Redis 2.8 | Redis 4.0 | Redis 5.0 | Redis 6.0 | Redis 7.0 |
---|---|---|---|---|---|
XACK | ➖ | ➖ | ✔️ | ✔️ | ✔️ |
XADD | ➖ | ➖ | ✔️ | ✔️ | ✔️ |
XAUTOCLAIM | ➖ | ➖ | ➖ | ➖ | ✔️ |
XCLAIM | ➖ | ➖ | ✔️ | ✔️ | ✔️ |
XDEL | ➖ | ➖ | ✔️ | ✔️ | ✔️ |
XGROUP | ➖ | ➖ | ✔️ | ✔️ | ✔️ |
XGROUP CREATECONSUMER | ➖ | ➖ | ➖ | ➖ | ✔️ |
XINFO | ➖ | ➖ | ✔️ | ✔️ | ✔️ |
XLEN | ➖ | ➖ | ✔️ | ✔️ | ✔️ |
XPENDING | ➖ | ➖ | ✔️ | ✔️ | ✔️ |
XRANGE | ➖ | ➖ | ✔️ | ✔️ | ✔️ |
XREAD | ➖ | ➖ | ✔️ | ✔️ | ✔️ |
XREADGROUP | ➖ | ➖ | ✔️ | ✔️ | ✔️ |
XREVRANGE | ➖ | ➖ | ✔️ | ✔️ | ✔️ |
XTRIM | ➖ | ➖ | ✔️ | ✔️ | ✔️ |
Command | Redis 2.8 | Redis 4.0 | Redis 5.0 | Redis 6.0 | Redis 7.0 |
---|---|---|---|---|---|
APPEND | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
DECR | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
DECRBY | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
GET | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
GETDEL | ➖ | ➖ | ➖ | ➖ | ✔️ |
GETEX | ➖ | ➖ | ➖ | ➖ | ✔️ |
GETRANGE | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
GETSET | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
LCS | ➖ | ➖ | ➖ | ➖ | ✔️ |
INCR | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
INCRBY | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
INCRBYFLOAT | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
MGET | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
MSET | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
MSETNX | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
PSETEX | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
SET | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
SETEX | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
SETNX | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
SETRANGE | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
STRALGO | ➖ | ➖ | ➖ | ✔️ | ➖ |
STRLEN | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
Command | Redis 2.8 | Redis 4.0 | Redis 5.0 | Redis 6.0 | Redis 7.0 |
---|---|---|---|---|---|
DISCARD | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
EXEC | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
MULTI | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
UNWATCH | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
WATCH | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
Limits on commands supported by Tair instances
No limits.
Persistent memory-optimized instances
Command group
Unsupported command
Keys
RENAME, RENAMENX, and MOVE
NotePersistent memory-optimized instances that run the minor version 1.2.4 or later are compatible with MOVE and RENAME commands. You can specify the pena_rename_move_compatible_enabled parameter to use these commands. For more information, see Modify the values of parameters for an instance.
Server
SWAPDB
Streams
XACK, XADD, XCLAIM, XDEL, XGROUP, XINFO, XLEN, XPENDING, XRANGE, XREAD, XREADGROUP, XREVRANGE, and XTRIM
NotePersistent memory-optimized instances that run the minor version 1.2.3 or later support the Streams command group.
If your persistent memory-optimized instance runs the minor version earlier than 1.2.4, the instance performance degrades as the size of keys increases when you perform specific UPDATE commands. If the size of keys increases to the MB level, the latency of the engine significantly rises. These commands include SETRANGE, SETBIT, APPEND, and BITFIELD. To run these commands, update your instance to V1.2.4 or later. For more information, see Update the minor version of an instance.
Command group
Unsupported command
Geo
GEOADD, GEODIST, GEOHASH, GEOPOS, GEORADIUS, GEORADIUS_RO, GEORADIUSBYMEMBER, and GEORADIUSBYMEMBER_RO
Hyperloglog
PFADD, PFDEBUG, PFCOUNT, PFMERGE, and PFSELFTEST
Keys
RENAME, RENAMENX, MOVE, OBJECT, SORT, and TOUCH
Lists
BRPOP, BLPOP, and BRPOPLPUSH
NoteESSD-based instances that run the minor version 2.3.2 or later support these commands. To run these commands, update your instance to V2.3.2 or later.
Scripting
EVAL, EVALSHA, SCRIPT DEBUG, SCRIPT EXISTS, SCRIPT FLUSH, SCRIPT KILL, and SCRIPT LOAD
NoteESSD-based instances that run the minor version 2.3.1 or later support commands of Lua scripts by using the txn-isolation-lock and #no_loose_lua-strict-mode parameters. To run these commands, update your instance to V2.3.1 or later. For more information, see Modify the values of parameters for an instance.
Strings
BITCOUNT, BITFIELD, BITOP, BITPOS, GETBIT, and SETBIT
NoteESSD-based instances that run the minor version 2.3.1 or later support these commands.
Server
SWAPDB
Transactions
DISCARD, EXEC, MULTI, UNWATCH, and WATCH
NoteESSD-based instances that run the minor version 2.3.1 or later support these commands by using the txn-isolation-lock parameter. To run these commands, update your instance to V2.3.1 or later. For more information, see Modify the values of parameters for an instance.
Streams
XACK, XADD, XCLAIM, XDEL, XGROUP, XINFO, XLEN, XPENDING, XRANGE, XREAD, XREADGROUP, XREVRANGE, and XTRIM
Hybrid-storage instances (phased out)
Command group
Unsupported command
Keys
RENAME, RENAMENX, MOVE, and SORT (STORE option)
Lists
LINSERT and LREM
Server
SWAPDB
Scripting
SCRIPT DEBUG and SCRIPT LOAD