'Can we have multiple databases in ElastiCache (for Redis)?
Difficult to find this information for ElastiCache (for Redis) - if we can use databases with it such as 0, 1, 2 ... like it's possible in Redis.
Solution 1:[1]
We have quite a few ElastiCache instances running in AWS and it simply works. Launch the CLI by issuing command:
redis-cli
Then use the following command:
select <db number>
For example:
select 4
And you'll be working with DB 4, by default you're connected to DB 0. Redis by default has 16 databases available.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 |