ApsaraDB for Redis Enhanced Edition (Tair) instances support most commands provided by open source Redis. However, to ensure service performance, limits are imposed on the use of specific commands.

Introduction to Tair

The rapid development of the Internet makes business scenarios more diverse and complicated. ApsaraDB for Redis Enhanced Edition (Tair) is a high-availability and high-performance NoSQL database service. It provides several series of instances based on storage media such as dynamic random-access memory (DRAM), non-volatile memory (NVM), and ESSDs to meet your requirements for low-latency access, persistence, and reduced overall costs. Tair provides higher performance, more data structures, and more flexible storage methods to meet your requirements in a variety of scenarios. For more information about ESSDs, see ESSDs.

Performance-enhanced instances

For performance-enhanced instances, no limits are imposed on the use of these commands. Performance-enhanced instances also support some new commands. For more information, see Commands supported by extended data structures of ApsaraDB for Redis Enhanced Edition (Tair).

Persistent memory-optimized instances

Command group Unsupported command
Keys RENAME, RENAMENX, and MOVE
Note Persistent memory-optimized instances that run the minor version 1.2.4 or later are compatible with MOVE and RENAME commands. You can specify the pena_rename_move_compatible_enabled parameter to use these commands. For more information, see and Modify parameters of an instance.
Server SWAPDB
Streams XACK, XADD, XCLAIM, XDEL, XGROUP, XINFO, XLEN, XPENDING, XRANGE, XREAD, XREADGROUP, XREVRANGE, and XTRIM
Note Persistent memory-optimized instances that run the minor version 1.2.3 or later support the Streams command group.

If your persistent memory-optimized instance runs the minor version earlier than 1.2.4, the instance performance degrades as the size of keys increases when you perform specific UPDATE commands. If the size of keys increases to the MB level, the latency of the engine significantly rises. These commands include SETRANGE, SETBIT, APPEND, and BITFIELD. To run these commands, we recommend that you update your instance to 1.2.4 or later. For more information, see and Update the minor version.

Storage-optimized instances

Command group Unsupported command
Geo GEOADD, GEODIST, GEOHASH, GEOPOS, GEORADIUS, GEORADIUS_RO, GEORADIUSBYMEMBER, and GEORADIUSBYMEMBER_RO
Hyperloglog PFADD, PFDEBUG, PFCOUNT, PFMERGE, and PFSELFTEST
Keys RENAME, RENAMENX, MOVE, OBJECT, SORT, and TOUCH
Lists BRPOP, BLPOP, and BRPOPLPUSH
Scripting EVAL, EVALSHA, SCRIPT DEBUG, SCRIPT EXISTS, SCRIPT FLUSH, SCRIPT KILL, and SCRIPT LOAD
Strings BITCOUNT, BITFIELD, BITOP, BITPOS, GETBIT, and SETBIT
Server MEMORY DOCTOR, MEMORY HELP, MEMORY MALLOC-STATS, MEMORY PURGE, MEMORY STATS, MEMORY USAGE, and SWAPDB
Transactions DISCARD, EXEC, MULTI, UNWATCH, and WATCH
Streams XACK, XADD, XCLAIM, XDEL, XGROUP, XINFO, XLEN, XPENDING, XRANGE, XREAD, XREADGROUP, XREVRANGE, and XTRIM

Hybrid-storage instances

Command group Unsupported command
Keys RENAME, RENAMENX, MOVE, and SORT (STORE option)
Lists LINSERT and LREM
Server SWAPDB
Scripting SCRIPT DEBUG and SCRIPT LOAD