检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
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
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
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
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
Can I Access DCS Instances in a Local Environment? If public access is disabled for a DCS instance, you cannot access it in local environments and can only access it through an ECS in a VPC that can communicate with the instance. VPCs are used to ensure network security of services
Can I Recover Deleted Data of a DCS Instance? If you have backed up the DCS instance, you can restore its data from the backup. However, the restoration will overwrite the data written in before the restoration. You can restore backup data to a master/standby, cluster, or read/write
Does DCS for Redis Support the INCR and EXPIRE Commands? Yes. For more information about Redis command compatibility, see Redis Command Compatibility. Parent topic: Redis Commands
Are DCS Instances Stopped or Restarted During Specification Modification? No. Specification modifications can take place while the instance is running, and do not require disabling instance resources or restarting instances. Parent topic: Instance Scaling and Upgrade
How Do I Reduce the Capacity of a DCS Instance? Table 1 lists scaling options supported by different DCS instances. Table 1 Scaling options supported by different instances Cache Engine Single-Node Master/Standby Redis Cluster Proxy Cluster Read/Write Splitting Redis 3.0 Scaling up
What Data Structures Does DCS for Memcached Support? Only the key-value structure is supported. Parent topic: Memcached Usage
What Are the Differences Between DCS for Memcached and Self-Hosted Memcached? Table 1 describes the differences between DCS for Memcached and self-hosted Memcached. Table 1 Comparing DCS for Memcached and self-hosted Memcached Item DCS for Memcached Self-Hosted Memcached Deployment
What Are the Differences Between Arm-based and x86-based DCS for Redis? DCS Redis instances support Arm and x86 CPU architectures. Arm-based Redis and x86-based Redis have the same functions and client compatibility. x86-based Redis provides higher single-CPU performance than Arm-based
Does DCS for Redis Support SSL Encrypted Transmission? By default, SSL is disabled for DCS Redis 6.0 and 7.0 basic edition instances. To enable it, see . For public access to DCS Redis 3.0 instances, you can enable TLS encryption with Stunnel. For details, see the instructions on
Do DCS Redis Instances Limite Data Quantity? No, but the data volume cannot exceed the memory of a DCS instance. Parent topic: Feature
Does DCS for Redis Provide Backend Management Software? No. To query Redis configurations and usage information, use redis-cli. If you want to monitor DCS Redis instance metrics, go to the Cloud Eye console or perform the following operations. Procedure Log in to the DCS console.
Example 3: Deleting DCS Redis Instances in Batches Scenario This section describes how to delete DCS Redis instances in batches by calling APIs. For details about how to call APIs, see Calling APIs. Involved APIs Call APIs to perform the following steps required to delete DCS Redis
Implementing Automatic DCS Redis Expansion During Peak Hours Scenarios and Pain Points Redis is used as cache at ultra-low latency in strong real-time scenarios such as e-commerce, gaming, and social networking. The memory usage and network throughput of a DCS instance surge during