Validated on 29 Apr 2024 • Last edited on 23 May 2024
Redis is an open source, key-value database built with an in-memory design that emphasizes speed. It has support for rich data types, atomic operations, and Lua scripting.
You can update your database engine’s parameters with the API, such as redis_maxmemory_policy and redis_pubsub_client_output_buffer_limit. For a full list of the parameters you can edit, see our API reference. Under the REQUEST BODY SCHEMA section, click config, and then click the redis option.
To ensure database stability, you can only edit the parameters listed in our API reference. To change other Redis parameters, contact support.
Update a Database’s Configuration Using the CLI
How to update a database's configuration using the DigitalOcean CLI
To update a database's configuration via the command-line, follow these steps:
Use the token to grant doctl access to your
DigitalOcean account.
doctl auth init
Finally, update a database's configuration with
doctl databases configuration update. The basic usage looks
like this, but you'll want to read the usage docs for more details: