检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
What Are the CPU Specifications of DCS Instances? Redis Basic Edition When using DCS for Redis basic edition, you only need to pay attention to critical indicators such as QPS, bandwidth, and memory. You do not need to be concerned about CPU specifications. DCS for Redis basic edition
Does DCS Support Public Access? Redis 3.0 Currently, public access is supported only by password-protected DCS Redis 3.0 instances. You can enable or disable SSL for public access. You are advised to download a CA certificate in advance and use it to verify the certificate of a DCS
Does DCS Support Cross-VPC Access? Cross-VPC means the client and the instance are not in the same VPC. The following assumes that public access is disabled for a DCS instance. Generally, VPCs are isolated from each other and an ECS cannot access a DCS instance that belongs to a different
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.
Does DCS for Redis Support Pipelining? Yes. For Redis Cluster instances, ensure that all commands in a pipeline are executed on the same shard. Parent topic: Redis Commands
Commands Supported and Disabled by DCS for Redis 4.0 DCS for Redis 4.0 is developed based on Redis 4.0.14 and is compatible with open-source protocols and commands. This section describes DCS for Redis 4.0's compatibility with Redis commands, including supported and disabled commands
Commands Supported and Disabled by DCS for Redis 5.0 DCS for Redis 5.0 is developed based on Redis 5.0.9 and is compatible with open-source protocols and commands. This section describes DCS for Redis 5.0's compatibility with Redis commands, including supported and disabled commands
Commands Supported and Disabled by DCS for Redis 6.0 Huawei Cloud DCS for Redis 6.0 is fully compatible with open-source Redis 6. This section describes DCS for Redis 6.0's compatibility with KeyDB commands, including supported and disabled commands. DCS Redis instances support most
Infographics for Comparing DCS for Redis with Open-Source Redis
Example 1: Creating a DCS Redis Instance Scenario This section describes how to create a DCS Redis instance by calling APIs. For details about how to call APIs, see Calling APIs. A 2 GB single-node DCS Redis 5.0 instance is used as an example. The instance uses the Arm CPU architecture
Common Issues of Creating DCS Instances Using an API This topic describes common issues that may occur when you create DCS instances using APIs. Table 1 Common issues of creating DCS instances Issue Solution Setting the Replica Quantity When Purchasing an Instance Using an API If
Troubleshooting High CPU Usage of a DCS Redis Instance Symptom The CPU usage of a Redis instance increases dramatically within a short period of time. If the CPU usage is too high, connections may time out, and master/standby switchover may be triggered. Possible Causes The service
Troubleshooting High Memory Usage of a DCS Redis Instance Symptom Redis provides fast database services. If the memory is insufficient, keys may be frequently evicted, the response time may increase, and the QPS may be unstable, affecting service running. This is normal due to Redis
Troubleshooting High Bandwidth Usage of a DCS Redis Instance Overview Redis instances are close to application services, and therefore they process a large amount of data access requests and use network bandwidth. The maximum bandwidth varies depending on the instance specifications
Upgrading Major Version of a DCS Redis 3.0 Instance DCS has discontinued Redis 3.0. Redis 3.0 has aged, and is out of updates in the open community. You are advised to upgrade your DCS Redis 3.0 instances as soon as possible. DCS for Redis of higher versions are compatible with Redis
Transmitting DCS Redis Data with Encryption Using SSL Single-node, master/standby, and Redis Cluster basic edition DCS Redis 6.0/7.0 instances support SSL encryption to ensure data transmission security. This function is not available for other instance versions. RESP (Redis Serialization
Performing a Master/Standby Switchover for a DCS Instance On the DCS console, you can manually switch the master and standby nodes of a master/standby or read/write splitting DCS instance. This operation is used for special purposes, for example, releasing all service connections
Scanning and Deleting Expired Keys in a DCS Redis Instance There are two ways to delete a key in Redis. Use the DEL command to directly delete a key. Use commands such as EXPIRE to set a timeout on a key. After the timeout elapses, the key becomes inaccessible but is not deleted immediately
Enabling Public Access of a DCS Redis 3.0 Instance If public access has been enabled for the instance, skip this section. If public access is not enabled, follow the instructions in this section. You can enable or disable SSL encryption when enabling public access. Before accessing
Accessing a DCS Memcached Instance (Discontinued) Configuring a Memcached Password Connecting to Memcached on a Client