By CarterB
For most Redis client tutorials I’m seeing, you need to select a DB within the Redis instance/cluster (defaults to 0). I’m wondering:
Do I need to create these with a client (seems to be no options to manage this through the UI).
Is there a limit to the number of DBs for a DO managed Redis cluster? Default on a regular install is 16, but that can be raised. How’s that work here?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @CarterB
By default, we provide 16 databases in Redis which you can switch to by using SELECT statement. Increasing the number of databases is not supported .
Redis databases are numbered from 0 to 15 and, by default, you connect to database 0 when you connect to your Redis instance. However, you can change the database you’re using with the select command after you connect:
select 15
Hope this helps!
Regards Priyanka
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.