Supported Configurations for OCI Cache
OCI Cache exposes only a limited number of custom configurations for your use, for the Redis and Valkey engines. The remaining configurations are not configurable and therefore not available. The following table lists the parameters that make up the OCI Cache configuration for these engines.
Name | Description | Details |
---|---|---|
client-query-buffer-limit |
The maximum size of a single client query buffer. | Allowed values: 1048576 -1073741824 Default: Type: numeric Modifiable: yes |
cluster-allow-pubsubshard-when-down |
When set to the default of yes, allows nodes to serve pubsub shard traffic while the cluster is in a down state, as long as it believes it owns the slots. | Allowed values: yes , no Default: Type: string Modifiable: yes |
cluster-allow-reads-when-down |
Whether allow nodes containing slots to serve read traffic when Redis cluster is in a down state. | Allowed values: yes , no Default: Type: string Modifiable: yes |
cluster-require-full-coverage |
Whether a cluster is unavailable if one or more slots aren't covered. | Allowed values: yes , no Default: Type: string Modifiable: yes |
lfu-decay-time |
The amount of time in minutes to decrement the key counter. | Allowed values: can be 0 or any integer greater than 0 .Default: Type: numeric Modifiable: yes |
lfu-log-factor |
The log factor for incrementing key counter. | Allowed values: can be 1 or any integer greater than 1 .Default: Type: numeric Modifiable: yes |
maxmemory-policy |
Evict keys when Redis uses more memory than allowed by maxmemory. The maxmemory-policy setting tells Redis which keys to remove. | Allowed values: volatile-lru , allkeys-lru , volatile-lfu , allkeys-lfu , volatile-random , allkeys-random , volatile-ttl , noeviction Default: Type: string Modifiable: yes |
maxmemory-samples |
Controls the number of random keys Redis examines when applying eviction policies such as LRU or LFU under a maxmemory-policy. | Allowed values: can be 1 or any integer greater than 1 .Default: Type: numeric Modifiable: yes |
notify-keyspace-events |
The keyspace events for Redis to notify pub/sub clients. By default, all notifications are disabled. | Allowed values: A , g , $ , l , s , h , z , x , e , K ,E , t ,m , d , n Default: empty string Type: string Modifiable: yes |
proto-max-bulk-len |
Maximum size of a single element request. | Allowed values: 1048576 -536870912 Default: Type: numeric Modifiable: yes |
slowlog-log-slower-than |
The execution time in microseconds to exceed for the command to get logged. Note that a negative number disables the slow log whereas a value of zero forces the logging of every command. | Allowed values: can be 0 or any integer greater than 0 .Default: Type: numeric Modifiable: yes |
slowlog-max-len |
The length of the slow log. There is no limit to this length. Be aware that it consumes memory. You can reclaim memory used by the slow log with SLOWLOG RESET . |
Allowed values: can be 0 or any integer greater than 0 .Default: Type: numeric Modifiable: yes |
tcp-keepalive |
If nonzero, send acknowledgements after every specific number of seconds. | Allowed values: can be 0 or any integer greater than 0 .Default: Type: numeric Modifiable: yes |
timeout |
Close connection if client is idle for a specific number of seconds or never if 0. | Allowed values: can be 0 or any integer greater than 0 .Default: Type: numeric Modifiable: yes |