All Products
Search
Document Center

Tair (Redis® OSS-Compatible):Supported commands for Tair Serverless KV

Last Updated:Nov 06, 2025

This topic describes the commands that are supported by Tair Serverless KV instances.

The tables in this topic use the following conventions:

  • ✔️: The command is supported.

  • ❌: The command is not supported.

  • ①: In the Redis Cluster protocol, 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.

String

Command

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

Supported

HDEL

✔️

HEXISTS

✔️

HGET

✔️

HGETALL

✔️

HINCRBY

✔️

HINCRBYFLOAT

✔️

HKEYS

✔️

HLEN

✔️

HMGET

✔️

HMSET

✔️

HRANDFIELD

HSCAN

✔️

HSET

✔️

HSETNX

✔️

HSTRLEN

✔️

HVALS

✔️

Set

Command

Supported

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

✔️

Transactions

Important

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

Command

Supported

EXEC

✔️

DISCARD

✔️

MULTI

✔️

UNWATCH

✔️

WATCH①

✔️

LUA

Important

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

Command

Supported

EVAL①

✔️

EVALSHA①

✔️

EVAL_RO①

✔️

EVALSHA_RO①

✔️

SCRIPT

✔️

GEO

Command

Supported

GEOADD

✔️

GEODIST

✔️

GEOHASH

✔️

GEOPOS

✔️

GEORADIUS

✔️

GEORADIUS_RO

✔️

GEORADIUSBYMEMBER

✔️

GEORADIUSBYMEMBER_RO

✔️

GEOSEARCH

✔️

GEOSEARCHSTORE①

✔️

Server management

Command

Supported

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

Supported

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

Supported

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 ②

✔️