Tair Serverless KV Redis-compatible instances support most Redis 6.0 data structures and commands. The instances use a cluster architecture, so connect using a Redis cluster-mode client.
Table conventions
The tables in this topic use the following symbols:
| Symbol | Meaning |
|---|---|
| ✔️ | Supported |
| ❌ | Not supported |
| ① | Requires all keys to reside in the same slot |
| ② | Returns only OK or an empty result for client compatibility; the command is not executed |
Commands not listed in the tables are not supported.
Supported commands
Lua scripts
Important
To use Lua script commands, set the txn-isolation-lock parameter to yes. For instructions, see Modify the values of parameters for an instance. The EVAL, EVALSHA, EVAL_RO, and EVALSHA_RO commands require at least one key and a numkeys value greater than 0.
| Command | Supported |
|---|---|
| EVAL① | ✔️ |
| EVALSHA① | ✔️ |
| EVAL_RO① | ✔️ |
| EVALSHA_RO① | ✔️ |
| SCRIPT | ✔️ |