By default, each ApsaraDB for Redis instance has 256 databases numbered from 0 to 255.
There is no size limit for each database, however, the available database space is limited according to the overall space of the ApsaraDB for Redis instance.
To switch between different databases, run the
For example, run the
select 1 command to select database 1.