DCS Redis Help Documentation

New Features of Redis 7.0

2024-05-25 02:05:15

Official Reference: https://github.com/redis/redis/blob/7.0/00-RELEASENOTES

COMMAND DOCS Command

Reference:https://redis.io/commands/command-docs/

Return documentary information about commands.

 

redis> COMMAND DOCS SET

1) "set"

2) 1) "summary"

   2) "Sets the string value of a key, ignoring its type. The key is created if it doesn't exist."

   3) "since"

   4) "1.0.0"

   5) "group"

   6) "string"

   7) "complexity"

   8) "O(1)"

   9) "history"

   10) 1) 1) "2.6.12"

          2) "Added the `EX`, `PX`, `NX` and `XX` options."

       2) 1) "6.0.0"

          2) "Added the `KEEPTTL` option."

       3) 1) "6.2.0"

          2) "Added the `GET`, `EXAT` and `PXAT` option."

       4) 1) "7.0.0"

          2) "Allowed the `NX` and `GET` options to be used together."

   11) "arguments"

   12) 1) 1) "name"

          2) "key"

          3) "type"

          4) "key"

          5) "display_text"

          6) "key"

          7) "key_spec_index"

          8) (integer) 0

       2) 1) "name"

          2) "value"

          3) "type"

          4) "string"

          5) "display_text"

          6) "value"

       3) 1) "name"

          2) "condition"

          3) "type"

          4) "oneof"

          5) "since"

          6) "2.6.12"

          7) "flags"

          8) 1) "optional"


Performance Improvement

Optimize Streams related commands.

Optimize the execution performance of pipeline batch commands.

Reduce INFO latency.

Optimize performance for multiple replicas.

Replace ziplist with listpack for the underlying data structure of the data types Hash, List, and Zset.

Store more than 4 GB of single elements in the List data.

Reduce memory usage during copy-on-write.

Save a large amount of memory when using a large number of hashes or ordered sets (Zsets).

Save a large amount of memory and reduce the overall system latency in cluster mode.

No full synchronization required for the standby node when an active node restarts in a cluster, and perform only partial synchronization.

Create an AOF file for persistence when Redis is started.

Reduce memory usage of idle and stale clients.

Reduce the number of system calls to write in customer reply packets and the number of TCP packets.

 


A2Xs46umsceV