Content is empty
If you don't find the content you expect, please try another search term
Last updated:2020-12-02 17:22:37
KCS allows you to modify certain Redis parameters in the KCS console or by calling an API operation.
Parameter | Description | Default value | Valid values |
---|---|---|---|
appendonly | Specifies whether to enable AOF persistence. | no | yes and no |
appendfsync | The persistence mode. | everysec | everysec, no, and always |
maxmemory-policy | The eviction policy when the maximum memory limit is reached for a dataset. | volatile-lru | volatile-lru, allkeys-lru, volatile-random, allkeys-random, volatile-ttl, and noeviction |
maxmemory-samples | The number of samples checked by the eviction algorithm for one eviction. | 3 | 1 to 10 |
hash-max-ziplist-entries | The threshold for internal data structure optimization. | 512 | 0 to 9223372036854775807 |
hash-max-ziplist-value | The threshold for internal data structure optimization. | 64 | 0 to 9223372036854775807 |
list-max-ziplist-entries | The threshold for internal data structure optimization. | 512 | 0 to 9223372036854775807 |
list-max-ziplist-value | The threshold for internal data structure optimization. | 64 | 0 to 9223372036854775807 |
set-max-intset-entries | The threshold for internal data structure optimization. | 512 | 0 to 9223372036854775807 |
zset-max-ziplist-entries | The threshold for internal data structure optimization. | 128 | 0 to 9223372036854775807 |
zset-max-ziplist-value | The threshold for internal data structure optimization. | 64 | 0 to 9223372036854775807 |
timeout | The timeout period, in seconds. | 600 | 0 to 864000 |
notify-keyspace-events | The notification policy for keyspace events. | Empty string | Combination of the following letters: K, E, g, $, l, s, h, z, x, e, and A |
The timeout parameter does not apply to cluster instances due to their special architecture.
AOF persistence is disabled by default. To enable AOF persistence, set the appendonly parameter to yes. We recommend that you use the default value everysec for the appendfsync parameter.
Pure Mode