Question

Managed Redis select DB, any limits?

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:

  1. Do I need to create these with a client (seems to be no options to manage this through the UI).

  2. 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?


Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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