Objective
This guide lists all the supported advanced parameters that allow you to configure your Public Cloud Databases for Valkey according to your use cases.
Requirements
Instructions
The management of advanced parameters is not supported via Terraform.
Using the OVHcloud Control Panel
Please refer to this guide to find out how to change your advanced parameters from the OVHcloud Control Panel.
Using API
Please refer to this guide to find out how to change your advanced parameters from the OVHcloud API.
Advanced parameters for Valkey
Below you can find a summary of every configuration option available for Valkey service:
| |
|---|
| Parameter | redis_acl_channels_default |
| Value type | string |
| Minimum | |
| Maximum | |
| Values | "allchannels", "resetchannels" |
| Description | Determines default pub/sub channels' ACL for new users if ACL is not supplied. When this option is not defined, all_channels is assumed to keep backward compatibility. This option doesn't affect Redis configuration acl-pubsub-default. |
| |
|---|
| Parameter | redis_io_threads |
| Value type | long |
| Minimum | 1 |
| Maximum | 32 |
| Values | |
| Description | Redis IO thread count |
| |
|---|
| Parameter | redis_lfu_decay_time |
| Value type | long |
| Minimum | 1 |
| Maximum | 120 |
| Values | |
| Description | LFU maxmemory-policy counter decay time in minutes |
| |
|---|
| Parameter | redis_lfu_log_factor |
| Value type | long |
| Minimum | 0 |
| Maximum | 100 |
| Values | |
| Description | Counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory-policies |
| |
|---|
| Parameter | redis_notify_keyspace_events |
| Value type | string |
| Minimum | |
| Maximum | |
| Values | |
| Description | Set notify-keyspace-events option |
| |
|---|
| Parameter | redis_number_of_databases |
| Value type | long |
| Minimum | 1 |
| Maximum | 128 |
| Values | |
| Description | Set number of redis databases. Changing this will cause a restart of redis service. |
| |
|---|
| Parameter | redis_persistence |
| Value type | string |
| Minimum | |
| Maximum | |
| Values | "off", "rdb" |
| Description | When persistence is 'rdb', Redis does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to backup schedule for backup purposes. When persistence is 'off', no RDB dumps and backups are done, so data can be lost at any moment if service is restarted for any reason, or if service is powered off. Also service can't be forked. |
| |
|---|
| Parameter | redis_pubsub_client_output_buffer_limit |
| Value type | long |
| Minimum | 32 |
| Maximum | 512 |
| Values | |
| Description | Set output buffer limit for pub / sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan. |
| |
|---|
| Parameter | redis_ssl |
| Value type | boolean |
| Minimum | |
| Maximum | |
| Values | |
| Description | Require SSL to access Redis |
| |
|---|
| Parameter | redis_timeout |
| Value type | long |
| Minimum | 0 |
| Maximum | 31536000 |
| Values | |
| Description | Redis idle connection timeout in seconds |
Go further
Visit our dedicated Discord channel: https://discord.gg/ovhcloud. Ask questions, provide feedback and interact directly with the team that builds our databases services.
If you need training or technical assistance to implement our solutions, contact your sales representative or click on this link to get a quote and ask our Professional Services experts for a custom analysis of your project.
Join our community of users on https://community.ovh.com/en/.