Parameter | Description | Supported Versions |
disable-command-list | Disable commands that have high time complexity or high risks. The disabled commands will not be allowed to run in this instance. To disable multiple commands, separate them by comma, such as flushdb,keys . | Redis 2.8, 4.0, 5.0 |
maxmemory-policy | Select one of the following eviction policies used to evict data when the Redis in-memory cache was used up. volatile-lru: Evict keys that have the TTL set by trying to remove the LRU keys first. allkeys-lru: Evict keys by trying to remove the LRU keys first. volatile-random: Randomly evict keys with the TTL set. allkeys-random: Randomly evict keys. volatile-ttl: Evict keys with the TTL set, and try to evict keys with a shorter TTL first. noeviction: Do not evict keys but return errors when the memory limit was reached. LRU (least recently used) and TTL (time to live) are implemented by randomized and approximation algorithms. | Redis 2.8, 4.0, 5.0 |
cluster-node-timeout | Set the timeout threshold for a cluster node. If a cluster node remains unreachable longer than the threshold, it will be deemed as a failed node. | Redis 4.0, 5.0 |
hash-max-ziplist-entries | Hashes that meet both of the following conditions will be encoded as ziplist. The biggest hash entry is smaller than the value (in bytes) of hash-max-ziplist-value .The number of hash entries is smaller than the value of hash-max-ziplist-entries . | Redis 2.8, 4.0, 5.0 |
hash-max-ziplist-value | Hashes that meet both of the following conditions will be encoded as ziplist. The biggest hash entry is smaller than the value (in bytes) of hash-max-ziplist-value .The number of hash entries is smaller than the value of hash-max-ziplist-entries . | Redis 2.8, 4.0, 5.0 |
proxy-slowlog-log-slower-than | Set the proxy slow log threshold (in milliseconds). In the proxy, queries that are executed longer than the threshold will be logged. | Redis 2.8, 4.0, 5.0 |
set-max-intset-entries | Sets that meet both of the following conditions will be encoded as intset. All set members are composed of just strings. All set members can be interpreted as base-10 integers within the range of 64-bit signed integers. | Redis 2.8, 4.0, 5.0 |
slowlog-log-slower-than | Set the slow log threshold (in milliseconds). Queries that are executed longer than the threshold will be logged. | Redis 2.8, 4.0, 5.0 |
timeout | Set the timeout threshold (in seconds) for connections. Client connections that remain idle longer than the threshold will be closed. | Redis 2.8, 4.0, 5.0 |
zset-max-ziplist-entries | Sorted sets that meet both of the following conditions will be encoded as ziplist. The biggest sorted set element is smaller than the value (in bytes) of zset-max-ziplist-value .The number of sorted set elements is smaller than the value of zset-max-ziplist-entries . | Redis 2.8, 4.0, 5.0 |
zset-max-ziplist-value | Sorted sets that meet both of the following conditions will be encoded as ziplist. The biggest sorted set element is smaller than the value (in bytes) of zset-max-ziplist-value .The number of sorted set elements is smaller than the value of zset-max-ziplist-entries . | Redis 2.8, 4.0, 5.0 |
notify-keyspace-events | Specify the type of notifications sent by the server. The value of this parameter is composed of multiple characters listed as follows: Character: Notification type >K: Keyspace events, published with __keyspace@<db>__ prefix.E: Keyevent events, published with __keyevent@<db>__ prefix.g: Generic commands (non-type specific) like DEL, EXPIRE, RENAME, etc. $: String commands l: List commands s: Set commands h: Hash commands z: Sorted set commands x: Expired events (events generated every time a key expires) e: Evicted events (events generated when a key is evicted for maxmemory) A: Alias for g$lshzxe . Enabling keyspace event notifications consumes CPU resources, so this type of notification is disabled by default. To configure the server to send notifications, the parameter value must include K or E . For example, to subscribe to evicted event notifications of the keyevent events, set the parameter to Ee ; to subscribe to all types of notifications, set the parameter to AKE . | Redis 2.8, 4.0, 5.0 |
list-max-ziplist-entries | Lists that meet both of the following conditions will be encoded as ziplist. The biggest list element is smaller than the value (in bytes) of list-max-ziplist-value .The number of list elements is smaller than the value of list-max-ziplist-entries . | Redis 2.8 |
list-max-ziplist-value | Lists that meet both of the following conditions will be encoded as ziplist. The biggest list element is smaller than the value (in bytes) of list-max-ziplist-value .The number of list elements is smaller than the value of list-max-ziplist-entries . | Redis 2.8 |
API | Description |
Applies a parameter template | |
Creates a parameter template | |
Deletes a parameter template | |
Queries the list of parameter modifications | |
Queries the list of parameter templates | |
Modifies the parameters of an instance | |
Modifies a parameter template |
Was this page helpful?