How to Resize Valkey Database Clusters
Validated on 24 Apr 2025 • Last edited on 28 May 2026
Valkey is a high-performance, open-source database that stores key-value data in memory, and is designed for caching, message queues, and primary database use. Fully compatible with Redis, Valkey serves as a drop-in replacement.
You can resize existing Valkey database clusters at any time to add more CPUs, RAM, and storage. To avoid data loss, you can’t decrease the size of database clusters.
Resize a Database Cluster Using Automation
You can resize a database cluster using the DigitalOcean CLI (doctl) or the API.
Resize a Database Cluster via CLI
To resize a database cluster using doctl, you need to provide a value for the --size flag, which specifies the cluster’s new configuration (number of CPUs, amount of RAM, and hard disk space). Use the doctl databases options slugs command to get a list of available values.
Resize a Database Cluster via API
To resize a database cluster using the API, you need to provide a value for the size field, which specifies the cluster’s configuration (number of CPUs, amount of RAM, and hard disk space). Use the /v2/databases/options endpoint to get a list of available values.
Resize a Database Cluster Using the Control Panel
To resize a Valkey database cluster, go to the Databases page, and select the cluster you want to resize. On the cluster’s Overview page, click the Settings tab.
In the Cluster configuration section, click the Edit button, and then select a Droplet plan. You can optionally add standby nodes, if needed.
Once you have selected your new configuration click Save to apply your changes. The provisioning takes several minutes but the total time depends on the size of the cluster.
Your cluster’s state changes from Active to Resizing until the process is done. You can expect no downtime, and you don’t need to take any action.