How to increase number of dbs in Azure Cache for Redis

Andrea Manov 0 Reputation points
2024-07-08T07:51:37.6+00:00

I am using Azure Cache for Redis Enterprise (E1) Tier for my application. Due to limit of costs, I would like to use the same instance for two environments: test and staging. How can I create separate db? Is there any limit of the number of dbs because of the tier? I was trying to find in the Microsoft documentation, but I couldn't.

When I try the command INFO keyspace I got this output:

db0:keys=1,expires=0,avg_ttl=0

When I try to SELECT 1 add new KEY I got this error:

Redis Client Error [ErrorReply: ERR DB index is out of range]
Azure Cache for Redis
Azure Cache for Redis
An Azure service that provides access to a secure, dedicated Redis cache, managed by Microsoft.
229 questions
0 comments No comments
{count} votes