Tair provides instances of multiple engine versions and architectures. Tair instances of different engine versions and architectures support different Redis commands. This topic describes the native Redis commands supported by Tair and the limits on these commands.
Limits on commands supported by Tair instances
The following section describes the limits on commands supported by the latest minor version of Tair. If your instance has more limits, update the minor version of the instance and try again. For more information, see Update the minor version of an instance.
For information about the release notes, see Release notes for Tair minor versions.
For information about how to configure parameters, see Modify the values of parameters for an instance.
No limits.
Persistent memory-optimized instances
Command group
Unsupported command
Keys
The MOVE and RENAME commands must be enabled by using the pena_rename_move_compatible_enabled parameter.
Server
SWAPDB
Command group
Unsupported command
HyperLogLog
PFADD, PFDEBUG, PFCOUNT, PFMERGE, and PFSELFTEST
Keys
The MOVE, OBJECT, SORT, and TOUCH commands are not supported.
The Rename and RenameNX commands have a maximum limit on the size of the keys they can modify, which is governed by the max-rename-commit-size parameter. By default, this limit is set to 16 MB.
Server
SWAPDB is not supported.
The FLUSHDB command can be run synchronously, but not asynchronously. In a production environment, exercise caution when you run the FLUSHDB command.
Streams
XACK, XADD, XCLAIM, XDEL, XGROUP, XINFO, XLEN, XPENDING, XRANGE, XREAD, XREADGROUP, XREVRANGE, and XTRIM
Scripting
Lua scripting commands, such as EVAL, EVALSHA, and SCRIPT EXISTS, can be enabled and disabled by using the txn-isolation-lock and #no_loose_lua-strict-mode parameters.
Transactions
Transaction-related commands, such as DISCARD, EXEC, and WATCH, can be enabled and disabled by using the txn-isolation-lock parameter.
Commands supported by Tair instances
Tair instance series are compatible with multiple open source Redis versions.
Tair DRAM-based instances that are compatible with Redis 7.0: Redis 7.0 and earlier. In addition, this instance series supports the extended data structures of Tair.
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.
Tair ESSD/SSD-based instances: Redis 6.0 and earlier. This instance series has limits on specific commands. For more information, see Limits on commands supported by Tair.
The following list describes the symbols that are used in the following tables:
️️✔️ indicates that the command is supported.
❌ indicates that the 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.This topic focuses on the availability of commands for instances of the latest minor version. Some commands are 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. Cluster instances and read/write splitting instances have limits on specific commands. For more information, see Limits on commands supported by cluster instances and read/write splitting instances.