Help Center/ Distributed Cache Service/ FAQs/ Redis Usage/ How Do I Know Whether an Instance Is Single-DB or Multi-DB?
Updated on 2023-09-08 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.

You can connect to a DCS Redis 4.0 or later instance on the console to check whether it is multi-DB.

Figure 1 Connecting to Redis
Figure 2 Viewing databases