This guide lists most of the supported advanced parameters that allow you to configure your Managed Databases (also called Cloud Databases) for Caching according to your use cases.
Requirements
- a Public Cloud project in your OVHcloud account
- a database running on your OVHcloud Cloud Databases (this guide can help you to meet this requirement)
- access to your OVHcloud Control Panel or the OVHcloud API
Instructions
NOTE: 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 Caching
You can find a complete list of configuration options via OVHcloud API. Below is a summary of most configuration options available for Caching service:
Parameter | redis_acl_channels_default |
Value type | string |
Minimum | "allchannels", "resetchannels" |
Maximum | |
Values | |
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 every 10 minutes if any key is changed. Also, RDB dumps are done according to the 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 the service is restarted for any reason, or if the 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
For more information and tutorials, please see our other Cloud Databases support guides or explore the guides for other OVHcloud products and services.