Updated on 2024-05-20 GMT+08:00
Does DCS for Redis Support Multi-DB?
DCS's support for multiple databases (multi-DB) is as follows:
- Single-node, read/write splitting, and master/standby DCS Redis instances: Multi-DB is supported. By default, there are 256 databases, numbering 0–255. The default database is DB0. Multi-DB is used for data isolation. The size of each database is not evenly allocated. As a result, one database may fully occupy the memory of the instance.
- Proxy Cluster: There is only one database by default.
- For details about how to create a Proxy Cluster instance with multiple databases, see How Do I Create a Multi-DB Proxy Cluster Instance?
- For details about how to enable multi-DB for a single-DB Proxy Cluster instance, see What Are the Constraints on Implementing Multiple Databases on a Proxy Cluster Instance?
Proxy Cluster DCS Redis 3.0 instances do not support multi-DB.
- Redis Cluster DCS instances: Multi-DB is not supported. There is only one database (DB0).
The number of databases cannot be changed, and the size of each database cannot be customized.
Parent topic: Feature
Feature FAQs
- What Are the CPU Specifications of DCS Instances?
- What Are Shard and Replica Quantities?
- Do DCS Redis Instances Limit the Size of a Key or Value?
- Can I Obtain the Addresses of the Nodes in a Cluster DCS Redis Instance?
- Does DCS for Redis Support Redis Clusters?
- What Are Redis Data Eviction Policies?
- Does DCS for Redis Support Read/Write Splitting?
- Does DCS for Redis Support Multi-DB?
- Does DCS Support External Extensions, Plug-ins, or Modules?
- Does DCS Support Data Persistence? What Is the Impact of Persistence?
- Do DCS Redis Instances Limite Data Quantity?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbotmore