Advanced parameters for Public Cloud Databases for Valkey

Knowledge Base

Advanced parameters for Public Cloud Databases for Valkey


Icons/System/eye-open Created with Sketch. 62 Views 12.06.2024 Valkey

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:

Parameterredis_acl_channels_default
Value typestring
Minimum
Maximum
Values"allchannels", "resetchannels"
DescriptionDetermines 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.
Parameterredis_io_threads
Value typelong
Minimum1
Maximum32
Values
DescriptionRedis IO thread count
Parameterredis_lfu_decay_time
Value typelong
Minimum1
Maximum120
Values
DescriptionLFU maxmemory-policy counter decay time in minutes
Parameterredis_lfu_log_factor
Value typelong
Minimum0
Maximum100
Values
DescriptionCounter logarithm factor for volatile-lfu and allkeys-lfu maxmemory-policies
Parameterredis_notify_keyspace_events
Value typestring
Minimum
Maximum
Values
DescriptionSet notify-keyspace-events option
Parameterredis_number_of_databases
Value typelong
Minimum1
Maximum128
Values
DescriptionSet number of redis databases. Changing this will cause a restart of redis service.
Parameterredis_persistence
Value typestring
Minimum
Maximum
Values"off", "rdb"
DescriptionWhen 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.
Parameterredis_pubsub_client_output_buffer_limit
Value typelong
Minimum32
Maximum512
Values
DescriptionSet 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.
Parameterredis_ssl
Value typeboolean
Minimum
Maximum
Values
DescriptionRequire SSL to access Redis
Parameterredis_timeout
Value typelong
Minimum0
Maximum31536000
Values
DescriptionRedis 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/.

Related articles