How Do I Know Whether an Instance Is Single-DB or Multi-DB?
Single-node, read/write splitting, and master/standby: multi-DB (256 DBs, numbered from 0 to 255)
Proxy Cluster: single-DB by default. Multi-DB can be enabled. For details, see What Are the Constraints on Implementing Multiple Databases on a Proxy Cluster Instance?
Redis Cluster: single-DB. Multi-DB is not supported.
For a Redis 4.0 or later instance, after connecting to Redis on the console, check whether multi-DB is enabled for the instance in the database selection box in the input area. If no, only database 0 is displayed. If yes, multiple databases (0 to 255) are displayed.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.