This topic describes command support for Tair Serverless KV instances.
Compatibility
The instance supports most Redis 6.0 data structures and commands.
Because the instance uses a cluster architecture, you should use a client that supports 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 all involved keys to be in the same slot.
②: To ensure compatibility with the behavior of some clients and frameworks, this command returns only
OKor an empty result and is not executed.
Commands that are not listed in the tables are not supported.
LUA
To use Lua script commands, set the
txn-isolation-lockparameter toyes. For more information, see the parameter overview.When you run the EVAL, EVALSHA, EVAL_RO, or EVALSHA_RO commands, you must pass at least one key and the
numkeysparameter must be greater than 0.
Command | Supported |
EVAL① | ✔️ |
EVALSHA① | ✔️ |
EVAL_RO① | ✔️ |
EVALSHA_RO① | ✔️ |
SCRIPT | ✔️ |