How to enable clustering on a Redis Cloud database?
Last updated 18, Apr 2024
Question
How to enable clustering on a Redis Cloud database?
Answer
Clustering can be enabled post-facto, but you must ensure your commands are cluster-safe. There are limitations to multi-key commands on sharded databases which can be found here. If you are not running any of the commands listed there, then there are two options we can go down:
- Increase the limit of the DB above 25GB, which will cause the DB to shard
- It is also possible to choose the desired number of shards
- Create a new DB with clustering enabled.
References
Refer to Redis Enterprise Cloud documentation to learn more about clustering.