检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Viewing and Modifying Basic Settings of a DCS Instance On the DCS console, you can view and modify DCS instance basic information. Viewing and Modifying Basic Information of a DCS Instance Log in to the DCS console. Click in the upper left corner of the management console and select
Viewing Slow Queries of a DCS Redis Instance Redis logs queries that exceed a specified execution time. You can view the slow logs on the DCS console to identify performance issues. Configure slow queries with the following parameters: slowlog-log-slower-than: The maximum time allowed
Changing Cluster DCS Instances to be Across AZs To implement disaster recovery, cluster instances (whose master and standby nodes are) in a single AZ can be deployed across AZs by migrating the standby nodes to other AZs. Notes and Constraints Available only for single-AZ cluster
Viewing Audit Logs of a DCS Redis Instance Command audit logs on the DCS console record client operations on DCS. The storage, query, and analysis of audit logs are provided by Log Tank Service (LTS). Currently, only Proxy Cluster DCS Redis 4.0 and later instances in the CN Beijing4
Creating a Custom Parameter Template for a DCS Instance System default parameter templates vary by Redis version and instance type. A system default parameter template contains default instance parameter configurations. Parameter templates can be customized for parameter configurations
Migrating Data from Self-Hosted Redis to DCS Migrating Self-Built Redis Online Self-Hosted Redis Migration with Backup Files Self-Hosted Redis Migration with redis-cli (AOF) Self-Hosted Redis Migration with redis-cli (RDB) Self-Hosted Redis Cluster Migration with redis-shake (Online
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 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
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
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
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 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/
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
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