Help Center/ Distributed Cache Service/ FAQs/ Redis Usage/ How Do I Know Whether an Instance Is Single-DB or Multi-DB?
Updated on 2025-10-23 GMT+08:00

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.

Figure 1 Connecting to Redis
Figure 2 Viewing databases