检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 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 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
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
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
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
What DCS Instance Type Changes Are Supported? Table 1 Instance type change options supported by different DCS instances Version Supported Type Change Precautions Redis 3.0 From single-node to master/standby The instance cannot be connected for several seconds and remains read-only
Does DCS for Redis Support Command Audits? Auditing commands affects read and write performance. Currently, only Proxy Cluster DCS Redis 4.0 and later instances support command audit logs in certain regions. For details, see Viewing Audit Logs of a DCS Redis Instance. Parent topic
What Memcached Version Is Compatible with DCS for Memcached? DCS for Memcached is based on Redis 3.0 and is compatible with Memcached 1.5.1. Parent topic: Memcached Usage
How Does DCS Delete Expired Keys? Question What are the rules for scheduled deletion of expired keys on a daily basis? Can I customize the rules? Mechanisms for Deleting Expired Keys Lazy free deletion: The deletion strategy is controlled in the main I/O event loop. Before a read/
Does DCS for Redis Support Cross-AZ Deployment? Master/Standby, read/write splitting, and cluster DCS Redis instances can be deployed across availability zones (AZs). If instance nodes in an AZ are faulty, nodes in other AZs will not be affected. The standby node automatically becomes
Does DCS for Redis Support Redis Clusters? Yes. DCS Redis 4.0 and later basic edition instances support native clusters (Redis Cluster) Parent topic: Feature
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
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
Querying Big Keys and Hot Keys in a DCS Redis Instance Big keys and hot keys are common issues. This section describes the big key and hot key analysis function on the DCS console. This function monitors the key that occupies most space of a Redis instance, or that is most frequently