All Products
Search
Document Center

Tair (Redis® OSS-Compatible):Supported commands for Redis-compatible instances

Last Updated:Jan 22, 2026

This topic describes the commands that are supported by Redis-compatible instances of Tair Serverless KV.

Compatibility

  • The instances are compatible with most data structures and commands of Redis 6.0.

  • The instances use a cluster architecture. Connect to the instances using a client that supports the Redis cluster mode.

Supported commands

The tables in this topic use the following conventions:

  • ✔️: The command is supported.

  • ❌: The command is not supported.

  • ①: This command requires that all keys used in the command reside in the same slot.

  • ②: To ensure compatibility with the behavior of some clients and frameworks, this command returns only OK or an empty result and is not executed.

Note

Commands that are not listed in the tables are not supported.

Unsupported commands

  • HyperLogLog-related commands, such as PFADD, PFCOUNT, and PFMERGE.

  • Stream-related commands, such as XACK, XADD, XCLAIM, XDEL, XGROUP, XLEN, XPENDING, XRANGE, XREAD, XREADGROUP, XREVRANGE, and XTRIM.

  • Pub/Sub-related commands, such as PSUBSCRIBE, PUBLISH, PUNSUBSCRIBE, SUBSCRIBE, UNSUBSCRIBE, SPUBLISH, SSUBSCRIBE, SUNSUBSCRIBE, and PUBSUB.

  • Function-related commands, such as FCALL, FCALL_RO, FUNCTION DELETE, FUNCTION FLUSH, FUNCTION LIST, FUNCTION LOAD, FUNCTION RESTORE, and FUNCTION STATS.

String

Command

Is it supported?

APPEND

✔️

DECR

✔️

DECRBY

✔️

GET

✔️

GETDEL

✔️

GETEX

✔️

GETRANGE

✔️

GETSET

✔️

LCS

INCR

✔️

INCRBY

✔️

INCRBYFLOAT

✔️

MGET①

✔️

MSET①

✔️

MSETNX①

✔️

PSETEX

✔️

SET

✔️

SETEX

✔️

SETNX

✔️

SETRANGE

✔️

STRALGO

STRLEN

✔️

SUBSTR

✔️

Generic

Command

Supported

COPY

DEL①

✔️

DUMP

✔️

EXISTS①

✔️

EXPIRE

✔️

EXPIREAT

✔️

EXPIRETIME

✔️

KEYS

✔️

MIGRATE

MOVE

OBJECT

PERSIST

✔️

PEXPIRE

✔️

PEXPIREAT

✔️

PEXPIRETIME

✔️

PTTL

✔️

RANDOMKEY

✔️

RENAME①

✔️

Note

Supports keys up to 16 MB in size.

RENAMENX①

✔️

Note

Supports keys up to 16 MB in size.

RESTORE

✔️

SCAN

✔️

SORT

SORT_RO

TOUCH

TTL

✔️

TYPE

✔️

UNLINK①

✔️

WAIT

Hash

Command

Support

HDEL

✔️

HEXISTS

✔️

HGET

✔️

HGETALL

✔️

HINCRBY

✔️

HINCRBYFLOAT

✔️

HKEYS

✔️

HLEN

✔️

HMGET

✔️

HMSET

✔️

HRANDFIELD

HSCAN

✔️

HSET

✔️

HSETNX

✔️

HSTRLEN

✔️

HVALS

✔️

Set

Command

Support

SADD

✔️

SCARD

✔️

SDIFF①

✔️

SDIFFSTORE①

✔️

SINTER①

✔️

SINTERCARD

SINTERSTORE①

✔️

SISMEMBER

✔️

SMEMBERS

✔️

SMISMEMBER

✔️

SMOVE①

✔️

SPOP

✔️

SRANDMEMBER

✔️

SREM

✔️

SSCAN

✔️

SUNION①

✔️

SUNIONSTORE①

✔️

Sorted Set

Command

Supported

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①

✔️

Lists

Command

Supported

BLPOP

BLMOVE

BLMPOP

BRPOP

BRPOPLPUSH

LINDEX

✔️

LINSERT

✔️

LLEN

✔️

LMOVE①

✔️

LMPOP①

LPOP

✔️

LPOS

✔️

LPUSH

✔️

LPUSHX

✔️

LRANGE

✔️

LREM

✔️

LSET

✔️

LTRIM

✔️

RPOP

✔️

RPOPLPUSH①

✔️

RPUSH

✔️

RPUSHX

✔️

Bitmap

Command

Supported

BITCOUNT

✔️

BITFIELD

✔️

BITFIELD_RO

BITOP①

✔️

BITPOS

✔️

GETBIT

✔️

SETBIT

✔️

Transactions

Important

To use transaction-related commands, you must set the parameter txn-isolation-lock to yes.

Command

Support

EXEC

✔️

DISCARD

✔️

MULTI

✔️

UNWATCH

✔️

WATCH①

✔️

LUA

Important
  • To use Lua script commands, you must set the parameter txn-isolation-lock to yes.

  • The EVAL, EVALSHA, EVAL_RO, and EVALSHA_RO commands require at least one key and a numkeys value greater than 0.

Command

Support

EVAL①

✔️

EVALSHA①

✔️

EVAL_RO①

✔️

EVALSHA_RO①

✔️

SCRIPT

✔️

GEO

Command

Support

GEOADD

✔️

GEODIST

✔️

GEOHASH

✔️

GEOPOS

✔️

GEORADIUS

✔️

GEORADIUS_RO

✔️

GEORADIUSBYMEMBER

✔️

GEORADIUSBYMEMBER_RO

✔️

GEOSEARCH

✔️

GEOSEARCHSTORE①

✔️

Server management

Command

Support

ACL

BGREWRITEAOF

BGSAVE

BKLIST

COMMAND

✔️

CONFIG

DBSIZE

✔️

DEBUG

FLUSHALL

✔️

FLUSHDB

✔️

Important

Only the synchronous execution mode of the FLUSHDB command is supported. The asynchronous execution mode is not supported. In a production environment, run the FLUSHDB command with caution.

INFO

✔️

LASTSAVE

LATENCY

LOLWUT

MEMORY

MONITOR

REWRITEAOF

SAVE

SHUTDOWN

SLOWLOG

✔️

SWAPDB

TIME

✔️

Connection management

Command

Support

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

✔️

SENTINEL sentinels②

✔️

SENTINEL get-master-addr-by-name ②

✔️

Cluster management

Command

Support

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 ②

✔️