ApsaraDB for Redis 5.0 significantly optimizes kernel performance and system stability. It supports new features, such as the Redis Streams data type, account management, and audit logging, to meet diverse needs.

New features

  • Redis Streams data type added. For more information, see Introduction to Redis Streams.
  • Account management feature supported. For more information, see Create and manage database accounts.
  • Log management feature supported. You can manage audit logs, active logs, and slow logs. For more information about these logs, see Enable the new audit log feature, Query active logs of an instance, and Query slow logs. You can query the records of commands used to manage databases, read and write operations, and sensitive operations such as KEYS and FLUSHALL operations. You can also query slow logs.
  • Snapshot-based offline key statistics feature supported. For more information, see Use the cache analysis feature to display details about big keys.
  • Timer, cluster, and dictionary APIs added.
  • Least frequently used (LFU) and least recently used (LRU) caching strategies added to Redis Database Backup (RDB) files.
  • Cluster management by using C language in redis-cli instead of Ruby language in redis-trib.rb.
  • ZPOPMIN, ZPOPMAX, BZPOPMIN, and BZPOPMAX commands for sorted sets added.
  • Active Defragmentation v2 supported.
  • Enhanced performance of HyperLogLog supported.
  • Statistical memory reports optimized.
  • HELP subcommand added for various commands that can include subcommands.
  • Enhanced performance stability when connections between databases and clients are frequently closed and established.
  • Jemalloc 5.1.0 supported.
  • CLIENT ID and CLIENT UNBLOCK commands added.
  • LOLWUT command added, which is used to produce interesting outputs.
  • Term "slave" discarded in all scenarios unless you need to ensure backward compatibility of APIs.
  • Network layer optimized.
  • Lua script-related configurations improved.
  • Dynamic-hz parameter added to optimize CPU usage and response performance.
  • Redis core code reconstruction and improvement.