Distributed Cache Service
Distributed Cache Service
Todos os resultados de "
" dentro deste produto
Todos os resultados de "
" dentro deste produto
Visão geral de serviço
O que é o DCS?
Cenários de aplicação
Tipos de instância do DCS
Redis de nó único
Principal/em espera Redis
Cluster de proxy Redis
Cluster do Redis
Separação de leitura/gravação
Comparando Tipos de Instância do DCS Redis
Memcached de nó único (indisponível em breve)
Memcached principal/em espera (indisponível em breve)
Especificações da instância de DCS
Especificações de instância do Redis 3.0 (descontinuado)
Especificações de instância do Redis 4.0 e 5.0
Especificações de instância (OBT) do Redis 6.0
Especificações de instância do Memcached (indisponível em breve)
Compatibilidade de comandos
Comandos do Redis 3.0
Comandos do Redis 4.0
Comandos do Redis 5.0
Comandos do Redis 6.0 (OBT)
Comandos da CLI da Web
Comandos do Memcached (indisponível em breve)
Restrições de Comando
Outras restrições de uso de comandos
Recuperação de desastres e solução multi-ativa
Diferenças do Cache Engine
Comparando versões do Redis
Comparando Redis e Memcached
Infográficos para comparar DCS for Redis com Redis de código aberto
Comparando serviços de cache do DCS e open-source
Observações e restrições
Faturação
Gerenciamento de permissões
Conceitos básicos
Serviços relacionados
Guia de usuário
Antes de começar
Acessando e usando o DCS
Usando o Console do DCS
Gerenciamento de permissões
Criando um Usuário e Concedendo Permissões de DCS
Políticas personalizadas do DCS
Comprando uma instância de DCS
Identificando os requisitos
Preparando os recursos necessários
Comprando uma Instância DCS Redis
Comprando uma instância do DCS Memcached (indisponível em breve)
Acessando uma instância do DCS Redis
Restrições
Acesso público a uma instância do DCS Redis 3.0 (Indisponível)
Passo 1: Verifique se o acesso público é suportado
Passo 2: Habilitar acesso público para uma instância do DCS Redis
Passo 3: Acessar uma instância do DCS Redis no Windows
Passo 3: Acessar uma instância do DCS Redis no Linux
Acesso em diferentes idiomas
redis-cli
Java
Jedis
Alface
Redisson
Integração de alface com Spring Boot
Clientes em Python
go-redis
hiredis em C++
C#
PHP
phpredis
Predis
Node.js
Acesso da CLI da Web a uma instância do DCS Redis 4.0/5.0
Acessando uma Instância do Memcached de DCS
telnet
Java
Python
C++
PHP
Operando instâncias de DCS
Exibindo Detalhes da Instância
Modificando especificações
Iniciando uma instância
Reiniciando uma Instância
Deletando uma Instância
Executando um switchover principal/em espera
Limpando dados de instância do DCS
Exportando Lista de Instâncias
Renomeando comandos
Gerenciando instâncias de DCS
Aviso de configuração
Modificando Parâmetros de Configuração
Modificando Parâmetros de Configuração de uma Instância
Modificando Parâmetros de Configuração em Lotes
Modificando a Janela Manutenção
Modificando o Grupo de Segurança
Exibindo Tarefas em Segundo Plano
Gerenciando a lista branca de endereço IP
Gerenciando Tags
Gerenciando Fragmentos e Réplicas
Análise de cache
Analisando Big Keys e Hot Keys
Varrendo chaves expiradas
Exibindo consultas lentas do Redis
Exibindo logs de execução do Redis
Diagnosticando uma instância
Fazendo backup e restaurando instâncias
Visão geral
Configurando uma política de backup
Fazendo backup manual de uma instância de DCS
Restaurando uma instância de DCS
Baixando um arquivo de backup RDB ou AOF
Migrando dados da instância
Visão geral da migração de dados
Importando arquivos de backup de um bucket do OBS
Importando arquivos de backup do Redis
Migração online
Comutação IP
Modelos de parâmetros
Exibindo Modelos de Parâmetros
Criando um Modelo de Parâmetro Personalizado
Modificando um Modelo de Parâmetro Personalizado
Excluindo um Modelo de Parâmetro Personalizado
Gestão de senhas
Senhas de instância do DCS
Alteração de senhas de instância
Redefinindo senhas de instância
Alteração das configurações de senha para instâncias do DCS Redis
Alterando as Configurações de Senha para Instâncias de Memcached do DCS
Cotas
Monitoramento
Métricas DCS
Métricas comuns
Exibindo Métricas
Configurando Regras de Alarme para Métricas Críticas
Auditoria
Operações registradas pelo CTS
Exibindo Registros de Auditoria
Referência de API
Antes de começar
Visão geral
Chamada de API
Endpoints
Restrições
Conceitos
Visão geral da API
Chamada das API
Criação de uma solicitação de API
Autenticação
Valores retornados
Exemplos
Problemas comuns na criação de instâncias de DCS usando uma API
Exemplo 1: Criação de uma instância do DCS Redis
Exemplo 2: Criação de uma tarefa de migração de dados
Exemplo 3: Exclusão de instâncias do DCS Redis em lotes
API V2
Gerenciamento de ciclo de vida
Criação de uma instância de DCS
Consulta de toda as instâncias de DCS
Exclusão de instâncias de DCS em massa
Consulta de uma instância de DCS
Exclusão de instâncias
Modificação dos detalhes da instância DCS
Modificação de especificações de instância
Gerenciamento de parâmetros
Consulta de parâmetros de configuração da instância DCS
Modificação dos parâmetros de configuração
Backup e restauração
Exclusão de arquivos de backup
Restauração de uma instância de DCS
Consulta de registros de restauração de instância do DCS
Obtenção do URL do arquivo de backup
Backup de uma instância de DCS
Listagem de registros de backup da instância do DCS
Análise de cache
Criação de uma tarefa de análise de big key
Listagem de tarefas de análise de big key
Consulta de detalhes da análise big key
Exclusão de tarefa de análise de big key
Configuração da análise automática de big key
Consulta das configurações da análise automática de big key
Criação de uma tarefa de análise de hot key
Listagem de tarefas de análise de hot key
Consulta de detalhes da análise de hot key
Exclusão de tarefas de análise de hot key
Configuração da análise automática de hot key
Consulta das configurações da análise automática de hot key
Migração de dados
Criação de tarefas de migração de dados
Listagem de tarefas de migração
Exclusão de tarefas de migração de dados
Consulta de detalhes de uma tarefa de migração de dados
Interrupções de uma tarefa de migração de dados
Consulta do andamento de uma tarefa de migração online
Criação de tarefas de migração de dados online
Configuração de tarefas de migração de dados online
Interrupções de tarefas de migração de dados
Interrupção na sincronização de tarefas de migração de dados
Consulta de instância tenant-sync
Modificação de instância tenant-sync
Partições e réplicas
Configuração de prioridade de réplica
Remoção do endereço IP
Consulta de detalhes de partições
Consulta de nós de instância em lotes
Diagnóstico de instância
Criação de tarefas de diagnóstico de instância
Listagem de tarefas de diagnóstico de instância
Consulta de um relatório de diagnóstico especificado
Gerenciamento de log
Consulta de log lento
Listagem de logs de execução do Redis
Coleta de logs de execução do Redis
Obtenção do link de download de log
Gerenciamento de tag
Listagem de todas as tags de um locatário
Adição ou remoção de tags em massa
Consulta de tags de uma instância de DCS
Segurança da rede
Configuração de grupos de lista branca de IP
Consulta da lista branca de IP de uma instância de DCS
Gerenciamento de tarefas em segundo plano
Listagem de tarefas em segundo plano
Exclusão de uma tarefa em segundo plano
Outras API
Consulta de variantes do produto
Listagem de janelas de tempo de manutenção
Consulta das cotas de locatário
Listagem de objetos monitorados em dimensões secundárias sob uma dimensão primária
Listagem de objetos monitorados em dimensões principais
Consulta das AZ
Gerenciamento de instância
Switchover entre principal/em espera
Alteração de senha
Consulta de status de instância do DCS
Restauração das instâncias DCS ou limpeza dos dados de instância DCS
Consulta das estatísticas de todas as instâncias em execução
Políticas de permissões e ações suportadas
Apêndice
Códigos de status
Error Codes
Obtenção do ID do projeto
Obtenção do nome da conta e o ID da conta
Status da instância do DCS
Os ID de diagnóstico de instância
As API desatualizadas (Indisponível em breve)
As API de gerenciamento de ciclo de vida
Criação de uma instância de DCS
Exclusão de uma única instância de DCS
Exclusão de instâncias de DCS em massa
Consulta de uma instância de DCS
Consulta de todas as Instâncias DCS de um locatário
Modificação das informações sobre uma instância de DCS
Dimensionamento de uma instância de DCS
As API de gerenciamento de instância
Restauração das instâncias DCS ou limpeza dos dados de instância DCS
Consulta das estatísticas de todas as instâncias em execução
Consulta do status da instância do DCS
Alteração da senha de uma instância de DCS
As API de partições e réplicas
Adição de réplicas
Exclusão de uma réplica
As API de gerenciamento de parâmetro
Modificação dos parâmetros de configuração da instância DCS
Consulta de parâmetros de configuração da instância DCS
As API de backup e restauração
Backup de instância de DCS
Restauração de uma instância de DCS
Consulta de registros de backup de instâncias do DCS
Consulta de registros de restauração de instâncias do DCS
Exclusão de arquivos de backup
As API de gerenciamento de tags
Consulta de todas as tags de um locatário
Adição ou remoção em massa de tags
Consulta de tags de uma instância especificada
Outras API
Consulta de especificações do serviço
Consulta da cota de um inquilino
Consulta de janela de tempo de manutenção
Consulta de informações sobre AZ
Primeiros passos
Visão geral
Passo 1: preparar dependências de instância
Passo 2: comprar uma instância do Redis
Passo 3: conectar-se à instância do DCS Redis
Práticas comuns
Perguntas frequentes
Tipos/versões de instâncias
Comparação entre o Redis e o Memcached
Comparação de versões
Novos recursos do DCS for Redis 4.0
Novos recursos do DCS for Redis 5.0
Quais são as diferenças entre o DCS for Redis baseado em ARM e baseado em x86?
Posso mudar a arquitetura da CPU?
Quais são as especificações de CPU das instâncias de DCS?
Como exibir a versão de uma instância do DCS Redis?
Cliente e conexão de rede
Como configurar um grupo de segurança?
O DCS suporta o acesso público?
O DCS oferece suporte ao acesso entre VPCs?
Serei cobrado pelo EIP usado para acesso público a uma instância do DCS Redis?
Por que "(error) NOAUTH Authentication required" é exibida quando eu acesso uma instância do DCS Redis?
O que devo fazer se o acesso ao DCS falhar após a desconexão do servidor?
Por que as solicitações às vezes esgotam o tempo nos clientes?
O que devo fazer se um erro for retornado quando eu usar o pool de conexão Jedis?
Como acessar uma instância do DCS Redis por meio do Redis Desktop Manager?
O que acontece se "ERR Unsupported CONFIG subcommand" é exibido na SpringCloud?
O que posso fazer se não conseguir acessar uma instância de DCS usando seu endereço de nome de domínio?
É necessária uma senha para acessar uma instância? Como definir uma senha?
Posso acessar instâncias de DCS em um ambiente local?
O que deve ser observado ao usar o Redis para Pub/Sub?
Por que o acesso público à minha instância do DCS Redis foi desativado de forma não intencional?
O que posso fazer se o erro "Cannot assign requested address" for retornado ao acessar o Redis usando o connect?
Seleção de pool de conexão e configurações de parâmetro Jedis recomendadas
O que fazer se um cliente Lettuce 6.x for incompatível com minha instância de DCS?
Devo usar um nome de domínio ou um endereço IP para conectar-se a uma instância do DCS Redis?
O endereço somente leitura de uma instância principal/em espera está conectado ao nó principal ou em espera?
Uso do Redis
O que é memória reservada? Como configurar a memória reservada?
O que são quantidades de partições e réplicas?
Posso alterar a VPC e a sub-rede de uma instância do DCS Redis?
Por que os grupos de segurança não podem ser configurados para instâncias do DCS Redis 4.0/5.0/6.0 edição básica?
As instâncias do DCS Redis limitam o tamanho de uma chave ou valor?
Posso obter os endereços dos nós em uma instância do DCS Redis de cluster?
Por que a memória disponível é menor que o tamanho do cache de instância?
O DCS for Redis suporta divisão de leitura/gravação?
O DCS for Redis oferece suporte a vários bancos de dados?
Como sei se uma instância é de banco de dados único ou de vários bancos de dados?
O DCS for Redis oferece suporte a clusters do Redis?
O DCS for Redis oferece suporte a Sentinels?
Qual é a política padrão de despejo de dados?
O que devo fazer se ocorrer um erro no redis_exporter?
Como proteger minhas instâncias do DCS Redis?
Por que o bloqueio distribuído do redisson não é suportado pelas instâncias do DCS Redis 3.0 de Proxy Cluster?
Posso personalizar ou alterar a porta para acessar uma instância de DCS?
Posso modificar os endereços de conexão para acessar uma instância de DCS?
Por que não consigo excluir uma instância?
O DCS oferece suporte à implementação entre AZs?
Por que leva muito tempo para iniciar uma instância de DCS de cluster?
O DCS for Redis fornece software de gerenciamento de back-end?
Posso recuperar dados excluídos de uma instância de DCS?
A DCS for Redis oferece suporte à transmissão criptografada SSL?
Como habilitar ou desabilitar o SSL para acesso público a uma instância do DCS Redis 3.0?
Por que a memória disponível de instâncias de DCS não usadas é menor que a memória total e por que o uso de memória de instâncias de DCS não usadas é maior que zero?
Como estimar o uso da memória do Redis?
Por que a capacidade ou o desempenho de uma partição de uma instância de Redis Cluster está sobrecarregado quando a instância ainda está abaixo do gargalo?
O DCS oferece suporte a extensões, plug-ins ou módulos externos?
Por que uma chave desaparece no Redis?
Por que ocorre um erro de OOM durante uma conexão do Redis?
Quais clientes posso usar para o Redis Cluster em diferentes linguagens de programação?
Por que preciso configurar o tempo limite para o Redis Cluster?
Quais são as restrições na implementação de vários bancos de dados em uma instância de Proxy Cluster?
Posso alterar a AZ de uma instância?
Explicação e uso de hashtags
Os dados armazenados em cache serão retidos após uma instância ser reiniciada?
Como comprar uma instância de Proxy Cluster de vários bancos de dados?
Por que uma instância é congelada?
Dimensionamento e atualização de instância
Posso atualizar a versão de uma instância de DCS Redis, por exemplo, do Redis 4.0 para o Redis 5.0?
Os serviços são interrompidos se a manutenção for executada durante a janela de tempo de manutenção?
As instâncias são interrompidas ou reiniciadas durante a modificação da especificação?
Quais alterações de tipo de instância do DCS são suportadas?
Os serviços são interrompidos durante a modificação da especificação?
Por que não modificar as especificações de uma instância de DCS?
Como reduzir a capacidade de uma instância de DCS?
Como adicionar partições a uma instância do DCS Redis de cluster sem alterar a memória?
Como lidar com um erro quando uso Lettuce para conectar-se a uma instância de Redis Cluster após a modificação da especificação?
Posso expandir uma partição única de uma instância de cluster?
Backup, exportação e migração de dados
Como exportar dados de instância do DCS Redis?
Por que a memória de uma instância do DCS Redis não é alterada após a migração de dados usando Rump, mesmo que nenhuma mensagem de erro seja retornada?
Posso exportar dados de backup de instâncias do DCS Redis para arquivos RDB no console?
Por que os processos são interrompidos com frequência durante a migração de dados?
Onde os arquivos de backup da instância de DCS são armazenados? Como são cobrados?
Todos os dados em uma instância do DCS Redis são migrados durante a migração on-line?
O DCS suporta a persistência de dados? Qual é o impacto da persistência?
Quando as reescritas de AOF serão acionadas?
Quais são as causas comuns das falhas de migração do Redis?
Posso migrar dados para várias instâncias de destino em uma tarefa de migração?
Como habilitar os comandos SYNC e PSYNC?
As mesmas chaves serão substituídas durante a migração de dados ou a importação de backup?
Análise de tecla grande, análise de tecla de atalho e varredura de chave expirada
Como analisar as teclas de atalho de uma instância do DCS Redis 3.0?
Como o DCS exclui chaves expiradas?
Por quanto tempo as chaves são armazenadas? Como configurar a expiração da chave?
Por que o uso da memória diminui depois que a análise de teclas grandes é executada no Redis?
Comandos do Redis
Como limpar dados do Redis?
Como encontrar chaves especificadas e percorrer todas as chaves?
Por que não consigo executar alguns comandos do Redis?
Por que a "permission denied" é retornada quando eu executo o comando keys na CLI da Web?
Como renomear comandos de alto risco?
O DCS for Redis suporta o pipelining?
O DCS for Redis oferece suporte aos comandos INCR e EXPIRE?
Por que um comando do Redis não entra em vigor?
Existe um limite de tempo para a execução de comandos do Redis? O que acontecerá se um comando atingir o tempo limite?
Posso configurar as chaves do Redis para não diferenciar maiúsculas de minúsculas?
Posso exibir os comandos do Redis usados com mais frequência?
Erros comuns da CLI da Web
Monitoramento e alarmes
Como visualizar as conexões simultâneas atuais e o máximo de conexões de uma instância do DCS Redis?
O DCS for Redis oferece suporte a auditorias de comandos?
O que devo fazer se os dados de monitoramento de uma instância do DCS Redis forem anormais?
Por que a memória usada é maior que a memória disponível?
Por que o uso da largura de banda excede 100%?
Por que a métrica de conexões rejeitadas é exibida?
Por que o controle de fluxo é acionado? Como lidar com isso?
Alternância entre principal/em espera
Quando ocorre uma alternância principal/em espera?
Como a alternância principal/em espera afeta os serviços?
O cliente precisa alternar o endereço de conexão após uma alternância principal/em espera?
Como funciona a replicação principal/em espera do Redis?
Compras e permissões
Por que não consigo criar uma instância do DCS Redis ou do Memcached?
Por que não consigo exibir as informações da sub-rede e do grupo de segurança ao criar uma instância de DCS?
Por que não posso selecionar o projeto empresarial necessário ao criar uma instância de DCS?
Por que um usuário do IAM não pode ver uma nova instância do DCS Redis?
Uso do Memcached
Posso despejar dados de instância do DCS Memcached para análise?
Qual versão do Memcached é compatível com o DCS for Memcached?
Quais estruturas de dados o DCS for Memcached suporta?
O DCS for Memcached oferece suporte ao acesso público?
Posso modificar parâmetros de configuração de instâncias do DCS Memcached?
Quais são as diferenças entre DCS for Memcached e Memcached auto-hospedado?
Quais políticas o DCS for Memcached usa para lidar com dados expirados?
Como selecionar as AZs ao criar uma instância do DCS Memcached?
What's New
Function Overview
Product Bulletin
Product Bulletin
Huawei Cloud Distributed Cache Service Redis 3.0 Is Discontinued
Huawei Cloud Distributed Cache Service Memcached Is Discontinued
Version Support Policy
Vulnerability Notices
Vulnerability Fixing Policies
Release History
Billing
Billing Overview
Billing Modes
Overview
Yearly/Monthly Billing
Pay-per-Use Billing
Billing Items
Billing Mode Changes
Overview
Pay-per-Use to Yearly/Monthly
Yearly/Monthly to Pay-per-Use
Renewing Subscriptions
Overview
Manually Renewing a DCS Instance
Auto-renewing a DCS Instance
Bills
Arrears
Billing Termination
Cost Management
Best Practices
Service Application
Serializing Access to Frequently Accessed Resources
Ranking with DCS
Implementing Bullet-Screen and Social Comments with DCS
Merging Game Servers with DCS
Flashing E-commerce Sales with DCS
Reconstructing Application System Databases with DCS
Upgrading a Redis 3.0 Instance
Network Connection
Using Nginx for Public Access to DCS
Using SSH Tunneling for Public Access to DCS
Using ELB for Public Access to DCS
Connecting a Client to DCS Through CCE
Configuring Redis Client Retry
Usage Guide
DCS Data Security
Suggestions on Using DCS
Detecting and Handling Big Keys and Hot Keys
SDK Reference
SDK Overview
Troubleshooting
Troubleshooting Redis Connection Failures
Troubleshooting High CPU Usage of a DCS Redis Instance
Troubleshooting High Memory Usage of a DCS Redis Instance
Troubleshooting High Bandwidth Usage of a DCS Redis Instance
Troubleshooting a Jedis Connection Pool Error
Videos
More Documents
User Guide (ME-Abu Dhabi Region)
Service Overview
What Is DCS?
Application Scenarios
DCS Instance Types
Single-Node Redis
Master/Standby Redis
Proxy Cluster Redis
Redis Cluster
DCS Instance Specifications
Redis 3.0 Instance Specifications
Redis 4.0 and 5.0 Instance Specifications
Command Compatibility
Redis 3.0 Commands
Redis 4.0 Commands
Redis 5.0 Commands
Web CLI Commands
Command Restrictions for Cluster Instances
Other Command Usage Restrictions
DCS Disaster Recovery
Comparing Redis Versions
Comparing DCS and Open-Source Cache Services
Basic Concepts
Related Services
Getting Started
Creating an Instance
Identifying Requirements
Preparing the Environment
Creating a DCS Redis Instance
Accessing an Instance
Accessing a DCS Redis Instance Through redis-cli
Accessing a DCS Redis Instance Through Jedis
Accessing a DCS Redis 4.0 or 5.0 Instance on the Console
Viewing Details of a DCS Instance
Operation Guide
Operating DCS Instances
Modifying DCS Instance Specifications
Restarting DCS Instances
Deleting DCS Instances
Performing a Master/Standby Switchover for a DCS Instance
Clearing DCS Instance Data
Exporting DCS Instance List
Command Renaming
Managing DCS Instances
Configuration Notice
Modifying Configuration Parameters
Modifying Maintenance Time Window
Modifying the Security Group
Viewing Background Tasks
Viewing Data Storage Statistics of a Proxy Cluster Instance
Analyzing Big Keys and Hot Keys
Viewing Redis Slow Logs
Viewing Redis Run Logs
Backing Up and Restoring DCS Instances
Overview
Configuring a Backup Policy
Manually Backing Up a DCS Instance
Restoring a DCS Instance
Downloading a Backup File
Migrating Data with DCS
Introduction to Migration with DCS
Importing Backup Files
Migrating Data Online
Managing Passwords
DCS Instance Passwords
Changing Instance Passwords
Monitoring
DCS Metrics
Viewing DCS Monitoring Metrics
Configuring Alarm Rules for Critical Metrics
Auditing
Operations That Can Be Recorded by CTS
Viewing Traces on the CTS Console
FAQs
Client and Network Connection
Security Group Configurations
Does DCS Support Public Access?
Does DCS Support Cross-VPC Access?
What Should I Do If Access to DCS Fails After Server Disconnects?
Why Do Requests Sometimes Time Out in Clients?
What Should I Do If an Error Is Returned When I Use the Jedis Connection Pool?
Why Is "ERR unknown command" Displayed When I Access a DCS Redis Instance Through a Redis Client?
How Do I Access a DCS Redis Instance Through Redis Desktop Manager?
What If "ERR Unsupported CONFIG subcommand" is Displayed in SpringCloud?
How Do I Troubleshoot Redis Connection Failures?
What Should Be Noted When Using Redis for Pub/Sub?
Redis Usage
Why Is CPU Usage of a DCS Redis Instance 100%?
Can I Change the VPC and Subnet for a DCS Redis Instance?
Why Aren't Security Groups Configured for DCS Redis 4.0 and 5.0 Instances?
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?
Why Is Available Memory of a DCS Redis 3.0 Instance Smaller Than Instance Cache Size?
Does DCS for Redis Support Multiple Databases?
Does DCS for Redis Support Redis Clusters?
Does DCS for Redis Support Sentinel?
What Is the Default Data Eviction Policy?
What Should I Do If an Error Occurs in Redis Exporter?
Why Is Memory Usage More Than 100%?
Why Is Redisson Distributed Lock Not Supported by DCS Proxy Cluster Redis 3.0 Instances?
Can I Customize or Change the Port for Accessing a DCS Instance?
Can I Modify the Connection Addresses for Accessing a DCS Instance?
Does DCS Support Cross-AZ Deployment?
Why Does It Take a Long Time to Start a Cluster DCS Instance?
What If Redis Commands Are Incompatible with DCS for Redis?
Does DCS for Redis Provide Backend Management Software?
Why Is Memory of a DCS Redis Instance Used Up by Just a Few Keys?
Can I Recover Data from Deleted DCS Instances?
Redis Commands
How Do I Clear Redis Data?
How Do I Rename High-Risk Commands?
Does DCS for Redis Support Pipelining?
Does DCS for Redis Support the INCR and EXPIRE Commands?
Why Do I Fail to Execute Some Redis Commands?
Why Does a Redis Command Fail to Take Effect?
Is There a Time Limit on Executing Redis Commands? What Will Happen If a Command Times Out?
Instance Scaling and Upgrade
Can DCS Redis Instances Be Upgraded, for Example, from Redis 3.0 to Redis 4.0 or 5.0?
Are Services Interrupted If Maintenance is Performed During the Maintenance Time Window?
Are Instance Resources Affected During Specification Modification?
Are Services Interrupted During Specification Modification?
Why Do I Fail to Modify the Specifications for a DCS Redis Instance?
Monitoring and Alarm
Does Redis Support Command Audits?
What Should I Do If the Monitoring Data of a DCS Redis Instance Is Abnormal?
Why Is Available Memory of Unused DCS Instances Less Than Total Memory and Why Is Memory Usage of Unused DCS Instances Greater Than Zero?
Why Is Used Memory Greater Than Available Memory?
Data Backup, Export, and Migration
How Do I Export DCS Redis Instance Data?
Can I Export Backup Data of DCS Redis Instances to RDB Files Using the Console?
Why Are Processes Frequently Killed During Data Migration?
Is All Data in a DCS Redis Instance Migrated During Online Migration?
Does DCS Support Data Persistence?
Master/Standby Switchover
When Does a Master/Standby Switchover Occur?
How Does Master/Standby Switchover Affect Services?
Does the Client Need to Switch the Connection Address After a Master/Standby Switchover?
How Does Redis Master/Standby Replication Work?
Change History
API Reference (ME-Abu Dhabi Region)
Before You Start
Overview
API Calling
Endpoints
Concepts
API Overview
Calling APIs
Making an API Request
Authentication
Response
Lifecycle Management APIs
Creating a DCS Instance
Deleting a Single DCS Instance
Batch Deleting DCS Instances
Querying a DCS Instance
Querying All DCS Instances of a Tenant
Modifying Information About a DCS Instance
Scaling Up a DCS Instance
Instance Management APIs
Restarting DCS Instances or Clearing DCS Instance Data
Querying Statistics of All Running Instances
Querying DCS Instance Status
Changing the Password of a DCS Instance
Parameter Management APIs
Modifying Configuration Parameters
Querying Configuration Parameters
Backup and Restoration APIs
Backing Up a DCS Instance
Restoring a DCS Instance
Querying DCS Instance Backup Records
Querying DCS Instance Restoration Records
Deleting Backup Files
Other APIs
Querying Service Specifications
Querying the Quota of a Tenant
Querying Maintenance Time Window
Querying AZ Information
Appendix
Status Codes
Error Codes
Obtaining a Project ID
Obtaining Account Name and Account ID
DCS Instance Statuses
Change History
User Guide (Paris Region)
Service Overview
What Is DCS?
Application Scenarios
DCS Instance Types
Single-Node Redis
Master/Standby Redis
Proxy Cluster Redis
Redis Cluster
Single-Node Memcached
Master/Standby Memcached
DCS Instance Specifications
Redis 3.0 Instance Specifications
Redis 4.0 and 5.0 Instance Specifications
Memcached Instance Specifications
Command Compatibility
Redis 3.0 Commands
Redis 4.0 Commands
Redis 5.0 Commands
Web CLI Commands
Memcached Commands
Command Restrictions for Cluster Instances
Other Command Usage Restrictions
DCS Disaster Recovery
Comparing Redis Versions
Comparing Redis and Memcached
Comparing DCS and Open-Source Cache Services
Basic Concepts
Related Services
Getting Started
Creating an Instance
Identifying Requirements
Preparing the Environment
Creating a DCS Redis Instance
Creating a DCS Memcached Instance
Accessing an Instance
Accessing a DCS Redis Instance Through redis-cli
Accessing a DCS Redis Instance Through Jedis
Accessing a DCS Redis 4.0 or 5.0 Instance on the Console
Accessing a DCS Memcached Instance
Viewing Details of a DCS Instance
Operation Guide
Operating DCS Instances
Modifying DCS Instance Specifications
Restarting DCS Instances
Deleting DCS Instances
Performing a Master/Standby Switchover for a DCS Instance
Clearing DCS Instance Data
Exporting DCS Instance List
Command Renaming
Managing DCS Instances
Configuration Notice
Modifying Configuration Parameters
Modifying Maintenance Time Window
Modifying the Security Group
Viewing Background Tasks
Viewing Data Storage Statistics of a Proxy Cluster Instance
Analyzing Big Keys and Hot Keys
Viewing Redis Slow Logs
Viewing Redis Run Logs
Backing Up and Restoring DCS Instances
Overview
Configuring a Backup Policy
Manually Backing Up a DCS Instance
Restoring a DCS Instance
Downloading a Backup File
Migrating Data with DCS
Introduction to Migration with DCS
Importing Backup Files from an OBS Bucket
Importing Backup Files from Redis
Migrating Data Online
Managing Passwords
DCS Instance Passwords
Changing Instance Passwords
Monitoring
DCS Metrics
Viewing DCS Monitoring Metrics
Configuring Alarm Rules for Critical Metrics
Auditing
Operations That Can Be Recorded by CTS
Viewing Traces on the CTS Console
FAQs
Client and Network Connection
Security Group Configurations
Does DCS Support Public Access?
Does DCS Support Cross-VPC Access?
What Should I Do If Access to DCS Fails After Server Disconnects?
Why Do Requests Sometimes Time Out in Clients?
What Should I Do If an Error Is Returned When I Use the Jedis Connection Pool?
Why Is "ERR unknown command" Displayed When I Access a DCS Redis Instance Through a Redis Client?
How Do I Access a DCS Redis Instance Through Redis Desktop Manager?
What If "ERR Unsupported CONFIG subcommand" is Displayed in SpringCloud?
How Do I Troubleshoot Redis Connection Failures?
What Should Be Noted When Using Redis for Pub/Sub?
Redis Usage
Why Is CPU Usage of a DCS Redis Instance 100%?
Can I Change the VPC and Subnet for a DCS Redis Instance?
Do DCS Redis Instances Limit the Size of a Key or Value?
Why Is Available Memory of a DCS Redis 3.0 Instance Smaller Than Instance Cache Size?
Does DCS for Redis Support Multiple Databases?
Does DCS for Redis Support Redis Clusters?
Does DCS for Redis Support Sentinel?
What Is the Default Data Eviction Policy?
What Should I Do If an Error Occurs in Redis Exporter?
Why Is Memory Usage More Than 100%?
Why Is Redisson Distributed Lock Not Supported by DCS Proxy Cluster Redis 3.0 Instances?
Can I Customize or Change the Port for Accessing a DCS Instance?
Can I Modify the Connection Addresses for Accessing a DCS Instance?
Does DCS Support Cross-AZ Deployment?
Why Does It Take a Long Time to Start a Cluster DCS Instance?
Why Is Memory of a DCS Redis Instance Used Up by Just a Few Keys?
Can I Recover Data from Deleted DCS Instances?
Why Is "Error in execution" Returned When I Access Redis?
Redis Commands
Why is "permission denied" Returned When I Run the Keys Command in Web CLI?
How Do I Clear Redis Data?
Does DCS for Redis Support the INCR and EXPIRE Commands?
Why Do I Fail to Execute Some Redis Commands?
Why Does a Redis Command Fail to Take Effect?
Is There a Time Limit on Executing Redis Commands? What Will Happen If a Command Times Out?
Instance Scaling and Upgrade
Can DCS Redis Instances Be Upgraded, for Example, from Redis 3.0 to Redis 4.0 or 5.0?
Are Services Interrupted If Maintenance is Performed During the Maintenance Time Window?
Are Instance Resources Affected During Specification Modification?
Are Services Interrupted During Specification Modification?
Why Do I Fail to Modify the Specifications for a DCS Redis or Memcached Instance?
Data Backup, Export, and Migration
How Do I Export DCS Redis Instance Data?
Can I Export Backup Data of DCS Redis Instances to RDB Files Using the Console?
Does DCS Support Data Persistence?
Master/Standby Switchover
When Does a Master/Standby Switchover Occur?
How Does Master/Standby Switchover Affect Services?
Does the Client Need to Switch the Connection Address After a Master/Standby Switchover?
How Does Redis Master/Standby Replication Work?
Memcached Usage
Can I Dump DCS Memcached Instance Data for Analysis?
What Memcached Version Is Compatible with DCS for Memcached?
What Data Structures Does DCS for Memcached Support?
Does DCS for Memcached Support Public Access?
Can I Modify Configuration Parameters of DCS Memcached Instances?
What Are the Differences Between DCS for Memcached and Self-Hosted Memcached?
What Policies Does DCS for Memcached Use to Deal with Expired Data?
How Should I Select AZs When Creating a DCS Memcached Instance?
Change History
API Reference (Paris Region)
Before You Start
Overview
API Calling
Endpoints
Concepts
API Overview
Calling APIs
Making an API Request
Authentication
Response
API V2
Lifecycle Management
Creating a DCS Instance
Querying All DCS Instances
Batch Deleting DCS Instances
Querying a DCS instance
Deleting an Instance
Modifying Details of a DCS Instance
Modifying Instance Specifications
Obtaining Deletable Replicas
Instance Management
Master/Standby Switchover
Changing the Password
Resetting a Password
Querying DCS Instance Statuses
Restarting DCS Instances or Clearing DCS Instance Data
Querying Statistics of All Running Instances
Shards and Replicas
Configuring Replica Priority
Removing the IP Address
Querying Details of Shards
Querying Instance Nodes in Batches
Querying Instance Nodes
Parameter Management
Querying DCS Instance Configuration Parameters
Modifying Configuration Parameters
Querying the List of Instance Parameter Modification Records
Backup and Restoration
Deleting Backup Files
Restoring a DCS Instance
Querying DCS Instance Restoration Records
Obtaining the Backup File URL
Backing Up a DCS Instance
Listing DCS Instance Backup Records
Data Migration
Creating a Backup Import Task
Listing Migration Tasks
Deleting Data Migration Tasks
Querying Details of a Data Migration Task
Configuring Auto-Reconnect for Migration Tasks
Stopping a Data Migration Task
Querying the Progress of an Online Migration Task
Creating an Online Data Migration Task
Configuring an Online Data Migration Task
Stopping Data Migration Tasks
Stopping Synchronization of a Data Migration Task
Cache Analysis
Creating a Big Key Analysis Task
Listing Big Key Analysis Tasks
Querying Big Key Analysis Details
Deleting a Big Key Analysis Task
Configuring Automatic Big Key Analysis
Querying the Configurations of Automatic Big Key Analysis
Creating a Hot Key Analysis Task
Listing Hot Key Analysis Tasks
Querying Hot Key Analysis Details
Deleting a Hot Key Analysis Task
Configuring Automatic Hot Key Analysis
Querying the Configurations of Automatic Hot Key Analysis
Log Management
Querying the Slow Log
Listing Redis Run Logs
Collecting Redis Run Logs
Obtaining the Log Download Link
Network Security
Configuring IP Whitelist Groups
Querying the IP Whitelist of a DCS Instance
Background Task Management
Listing Background Tasks
Deleting a Background Task
Querying the Job Execution Result of a Tenant
Deleting a Task in the Task Center
Instance Diagnosis
Listing Instance Diagnosis Tasks
Querying a Specified Diagnosis Report
Template Management
Viewing Parameter Templates
Creating a Custom Template
Other APIs
Querying Product Flavors
Listing Maintenance Time Windows
Querying the Tenant Quotas
Listing Monitored Objects on Secondary Dimensions Under a Primary Dimension
Listing Monitored Objects on Primary Dimensions
Querying AZs
Outdated APIs (V1)
Lifecycle Management APIs
Creating a DCS Instance
Deleting a Single DCS Instance
Batch Deleting DCS Instances
Querying a DCS Instance
Querying All DCS Instances of a Tenant
Modifying Information About a DCS Instance
Scaling Up a DCS Instance
Instance Management APIs
Restarting DCS Instances or Clearing DCS Instance Data
Querying Statistics of All Running Instances
Querying DCS Instance Status
Changing the Password of a DCS Instance
Parameter Management APIs
Modifying Configuration Parameters
Querying Configuration Parameters
Backup and Restoration APIs
Backing Up a DCS Instance
Restoring a DCS Instance
Querying DCS Instance Backup Records
Querying DCS Instance Restoration Records
Deleting Backup Files
Other APIs
Querying Service Specifications
Querying the Quota of a Tenant
Querying Maintenance Time Window
Querying AZ Information
Permissions Policies and Supported Actions
Appendix
Status Codes
Error Codes
Obtaining a Project ID
DCS Instance Statuses
Change History
User Guide (Kuala Lumpur Region)
Service Overview
What Is DCS?
Application Scenarios
DCS Instance Types
Single-Node Redis
Master/Standby Redis
Proxy Cluster Redis
Redis Cluster
Comparing DCS Redis Instance Types
Single-Node Memcached
Master/Standby Memcached
DCS Instance Specifications
Redis 3.0 Instance Specifications
Redis 4.0 and 5.0 Instance Specifications
Redis 6.0 Instance Specifications
Memcached Instance Specifications
Command Compatibility
Redis 3.0 Commands
Redis 4.0 Commands
Redis 5.0 Commands
Redis 6.0 Commands
Web CLI Commands
Memcached Commands
Command Restrictions
Other Command Usage Restrictions
Disaster Recovery and Multi-Active Solution
Comparing Redis Versions
Comparing Redis and Memcached
Comparing DCS and Open-Source Cache Services
Notes and Constraints
Basic Concepts
Permissions
Related Services
Permissions Management
Creating a User and Granting DCS Permissions
DCS Custom Policies
Process of Using DCS
Getting Started
Creating an Instance
Identifying Requirements
Preparing Required Resources
Creating a DCS Redis Instance
Creating a DCS Memcached Instance
Accessing an Instance
Network Conditions for Accessing DCS Redis
Accessing a DCS Redis Instance Through redis-cli
Access in Different Languages
Java
Connecting to Redis on Jedis (Java)
Connecting to Redis on Lettuce (Java)
Connecting to Redis on Redisson (Java)
Connecting to Redis on redis-py (Python)
Connecting to Redis on go-redis (Go)
Connecting to Redis on hiredis (C++)
Connecting to Redis on StackExchange.Redis (C#)
PHP
Connecting to Redis on phpredis (PHP)
Connecting to Redis on predis (PHP)
Connecting to Redis on ioredis (Node.js)
Accessing a DCS Redis 4.0/5.0/6.0 Instance on the Console
Accessing a DCS Memcached Instance (Discontinued)
Connecting to Memcached on the Telnet
Connecting to Memcached on the Spymemcached (Java)
Connecting to Memcached on the Python-binary-memcached (Python)
Connecting to Memcached on the Libmemcached (C++)
Connecting to Memcached on the Libmemcached (PHP)
Viewing Details of a DCS Instance
Operating DCS Instances
Modifying DCS Instance Specifications
Restarting DCS Instances
Deleting DCS Instances
Performing a Master/Standby Switchover for a DCS Instance
Clearing DCS Instance Data
Exporting DCS Instance List
Command Renaming
Managing DCS Instances
Configuration Notice
Modifying Configuration Parameters
Modifying the Security Group
Viewing Background Tasks
Viewing Data Storage Statistics of a DCS Redis 3.0 Proxy Cluster Instance
Managing Tags
Managing Shards and Replicas
Analyzing Big Keys and Hot Keys
Managing IP Address Whitelist
Viewing Redis Slow Queries
Viewing Redis Run Logs
Diagnosing an Instance
Transmitting DCS Redis Data with Encryption Using SSL
Backing Up and Restoring DCS Instances
Overview
Configuring an Automatic Backup Policy
Manually Backing Up a DCS Instance
Restoring a DCS Instance
Downloading a Backup File
Migrating Data with DCS
Introduction to Migration with DCS
Importing Backup Files
Importing Backup Files from an OBS Bucket
Importing Backup Files from Redis
Migrating Data Online
Switching DCS Instance IP Addresses
Managing Passwords
DCS Instance Passwords
Changing Instance Passwords
Resetting Instance Passwords
Changing Password Settings for DCS Redis Instances
Changing Password Settings for DCS Memcached Instances
Parameter Templates
Viewing Parameter Templates
Creating a Custom Parameter Template
Modifying a Custom Parameter Template
Deleting a Custom Parameter Template
Monitoring
DCS Metrics
Common DCS Metrics
Viewing DCS Monitoring Metrics
Configuring Alarm Rules for Critical Metrics
Auditing
Operations That Can Be Recorded by CTS
Viewing Traces on the CTS Console
Data Migration Guide
Overview
Migration Process
Migration Solution Notes
Migrating Data from Self-Hosted Redis to DCS
Online Migration of Self-Hosted Redis
Backup Migration of Self-Hosted Redis
Self-Hosted Redis Migration with redis-cli (AOF)
Self-Hosted Redis Migration with redis-cli (RDB)
Self-Hosted Redis Cluster Migration with redis-shake
Migrating Data Between DCS Instances
Online Migration Between Instances
Backup Import Between Instances
Migration from Another Cloud
Online Migration from Another Cloud
Backup Import from Another Cloud
Online Migration from Another Cloud Using Rump
Backup Import from Another Cloud Using redis-shake
Online Migration from Another Cloud Using redis-shake
Migrating Data from DCS to Self-Hosted Redis
FAQs
Instance Types/Versions
Comparing Versions
New Features of DCS for Redis 4.0
New Features of DCS for Redis 5.0
What Are the CPU Specifications of DCS Instances?
How Do I View the Version of a DCS Redis Instance?
Client and Network Connection
Security Group Configurations
Does DCS Support Access over Public Networks?
Does DCS Support Cross-VPC Access?
Why Is "(error) NOAUTH Authentication required" Displayed When I Access a DCS Redis Instance?
What Should I Do If Access to DCS Fails After Server Disconnects?
Why Do Requests Sometimes Time Out in Clients?
What Should I Do If an Error Is Returned When I Use the Jedis Connection Pool?
Why Is "ERR unknown command" Displayed When I Access a DCS Redis Instance Through a Redis Client?
How Do I Access a DCS Redis Instance Through Redis Desktop Manager?
What If "ERR Unsupported CONFIG subcommand" is Displayed in SpringCloud?
Is a Password Required for Accessing an Instance? How Do I Set a Password?
What Should Be Noted When Using Redis for Pub/Sub?
How Do I Troubleshoot Redis Connection Failures?
What Can I Do If Error "Cannot assign requested address" Is Returned When I Access Redis Using connect?
Connection Pool Selection and Recommended Jedis Parameter Settings
Redis Usage
What Are Shard and Replica Quantities?
Why Is CPU Usage of a DCS Redis Instance 100%?
Can I Change the VPC and Subnet for a DCS Redis Instance?
Why Aren't Security Groups Configured for DCS Redis 4.0/5.0/6.0 Instances?
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?
Why Is Available Memory Smaller Than Instance Cache Size?
Does DCS for Redis Support Read/Write Splitting?How Do I Configure Read/Write Splitting for a Redis Cluster Instance?
Does DCS for Redis Support Multiple Databases?
Does DCS for Redis Support Redis Clusters?
What Is Sentinel?
Does DCS for Redis Support Sentinel?
What Is the Default Data Eviction Policy?
What Should I Do If an Error Occurs in Redis Exporter?
How Can I Secure My DCS Redis Instances?
Why Is Redisson Distributed Lock Not Supported by DCS Proxy Cluster Redis 3.0 Instances?
Can I Customize or Change the Port for Accessing a DCS Instance?
Can I Modify the Connection Addresses for Accessing a DCS Instance?
Why Do I Fail to Delete an Instance?
Does DCS Support Cross-AZ Deployment?
Why Does It Take a Long Time to Start a Cluster DCS Instance?
Does DCS for Redis Provide Backend Management Software?
Can I Recover Data from Deleted DCS Instances?
Does DCS for Redis Support SSL Encrypted Transmission?
Why Is Available Memory of Unused DCS Instances Less Than Total Memory and Why Is Memory Usage of Unused DCS Instances Greater Than Zero?
How Do I Check Redis Memory Usage?
Why Is the Capacity or Performance of a Shard of a Redis Cluster Instance Overloaded When That of the Instance Is Still Below the Bottleneck?
Does DCS Support External Extensions, Plug-ins, or Modules?
Why Is "Error in execution" Returned When I Access Redis?
Why Does a Key Disappear in Redis?
Why Does an OOM Error Occur During a Redis Connection?
What Clients Can I Use for Redis Cluster in Different Programming Languages?
Why Do I Need to Configure Timeout for Redis Cluster?
Can I Change the AZ for an Instance?
Explaining and Using Hash Tags
Will Cached Data Be Retained After an Instance Is Restarted?
Redis Commands
How Do I Clear Redis Data?
How Do I Find Specified Keys and Traverse All Keys?
Why is "permission denied" Returned When I Run the KEYS Command in Web CLI?
How Do I Disable High-Risk Commands?
Does DCS for Redis Support Pipelining?
Does DCS for Redis Support the INCR and EXPIRE Commands?
Why Do I Fail to Execute Some Redis Commands?
Why Does a Redis Command Fail to Take Effect?
Is There a Time Limit on Executing Redis Commands? What Will Happen If a Command Times Out?
Can I Configure Redis Keys to Be Case-Insensitive?
Can I View the Most Frequently Used Redis Commands?
Common Web CLI Errors
Instance Scaling and Upgrade
Can DCS Redis Instances Be Upgraded, for Example, from Redis 4.0 to 5.0?
Are Services Interrupted If Maintenance is Performed During the Maintenance Time Window?
Are Instances Stopped or Restarted During Specification Modification?
Are Services Interrupted During Specification Modification?
Why Can't I Modify Specifications for a DCS Redis/Memcached Instance?
How Do I Reduce the Capacity of a DCS Instance?
How Do I Handle an Error When I Use Lettuce to Connect to a Redis Cluster Instance After Specification Modification?
Monitoring and Alarm
How Do I View Current Concurrent Connections and Maximum Connections of a DCS Redis Instance?
Does Redis Support Command Audits?
What Should I Do If the Monitoring Data of a DCS Redis Instance Is Abnormal?
Why Is Available Memory of Unused DCS Instances Less Than Total Memory and Why Is Memory Usage of Unused DCS Instances Greater Than Zero?
Why Is Used Memory Greater Than Available Memory?
Why Does Bandwidth Usage Exceed 100%?
Why Is the Rejected Connections Metric Displayed?
Why Is Flow Control Triggered? How Do I Handle It?
Data Backup, Export, and Migration
How Do I Export DCS Redis Instance Data?
Can I Export Backup Data of DCS Redis Instances to RDB Files Using the Console?
Why Are Processes Frequently Killed During Data Migration?
Is All Data in a DCS Redis Instance Migrated During Online Migration?
Do DCS Redis Instances Support Data Persistence? What Is the Impact of Persistence?
When Will AOF Rewrites Be Triggered?
Can I Migrate Data to Multiple Target Instances in One Migration Task?
How Do I Enable the SYNC and PSYNC Commands?
Will the Same Keys Be Overwritten During Data Migration or Backup Import?
Online Migration with Rump
What Should I Consider When Transferring or Operating Data Between Different OSs?
Can I Migrate Data from a Multi-DB Source Redis Instance to a Cluster DCS Redis Instance?
How Can I Migrate Partial Data?
What Are the Constraints and Precautions for Migrating Redis Data to a Cluster Instance?
What Should I Consider for Online Migration?
Can I Perform Online Migration Without Any Service Interruption?
What If "Disconnecting timedout slave" and "overcoming of output buffer limits" Are Reported on the Source Instance During Online Migration?
Why Is Memory of a DCS Redis Instance Unchanged After Data Migration Using Rump, Even If No Error Message Is Returned?
Can I Migrate Data from a Lower Redis Version to a Higher One?
How Do I Migrate Memcached Data?
Big/Hot Key Analysis
What Are Big Keys and Hot Keys?
What Is the Impact of Big Keys or Hot Keys?
How Do I Avoid Big Keys and Hot Keys?
How Do I Analyze the Hot Keys of a DCS Redis 3.0 Instance?
How Do I Detect Big Keys and Hot Keys in Advance?
Master/Standby Switchover
When Does a Master/Standby Switchover Occur?
How Does Master/Standby Switchover Affect Services?
Does the Client Need to Switch the Connection Address After a Master/Standby Switchover?
How Does Redis Master/Standby Replication Work?
Memcached Usage
Can I Dump DCS Memcached Instance Data for Analysis?
What Memcached Version Is Compatible with DCS for Memcached?
What Data Structures Does DCS for Memcached Support?
Does DCS for Memcached Support Public Access?
Can I Modify Configuration Parameters of DCS Memcached Instances?
What Are the Differences Between DCS for Memcached and Self-Hosted Memcached?
What Policies Does DCS for Memcached Use to Deal with Expired Data?
How Should I Select AZs When Creating a DCS Memcached Instance?
Troubleshooting
Troubleshooting Redis Connection Failures
Troubleshooting High CPU Usage of a DCS Redis Instance
Troubleshooting High Memory Usage of a DCS Redis Instance
Troubleshooting High Bandwidth Usage of a DCS Redis Instance
Troubleshooting Data Migration Failures
Change History
API Reference (Kuala Lumpur Region)
Before You Start
Overview
API Calling
Endpoints
Concepts
API Overview
Calling APIs
Making an API Request
Authentication
Response
Lifecycle Management APIs
Creating a DCS Instance
Deleting a Single DCS Instance
Batch Deleting DCS Instances
Querying a DCS Instance
Querying All DCS Instances of a Tenant
Modifying Information About a DCS Instance
Scaling Up a DCS Instance
Instance Management APIs
Restarting DCS Instances or Clearing DCS Instance Data
Querying Statistics of All Running Instances
Querying DCS Instance Status
Changing the Password of a DCS Instance
Parameter Management APIs
Modifying Configuration Parameters
Querying Configuration Parameters
Data Migration APIs
Creating a Data Migration Task
Backup and Restoration APIs
Backing Up a DCS Instance
Restoring a DCS Instance
Querying DCS Instance Backup Records
Querying DCS Instance Restoration Records
Deleting Backup Files
Tag Management APIs
Querying All Tags of a Tenant
Adding or Deleting Tags in Batches
Querying Tag of a Specified Instance
Querying All Tags of a Tenant
Adding or Deleting Tags in Batches
Querying Tags of a Specified Instance
Other APIs
Querying Service Specifications
Querying the Quota of a Tenant
Querying Maintenance Time Window
Querying AZ Information
Permissions Policies and Supported Actions
Appendix
Status Codes
Error Codes
Obtaining a Project ID
Obtaining an Account Name and an Account ID
DCS Instance Statuses
Change History
API Reference (Ankara Region)
Before You Start
API Overview
Calling APIs
Making an API Request
Authentication
Response
APIs V2 (Recommended)
Lifecycle Management
Creating a DCS Instance
Querying All DCS Instances
Batch Deleting DCS Instances
Querying a DCS instance
Deleting an Instance
Modifying Details of a DCS Instance
Modifying Instance Specifications
Instance Management
Master/Standby Switchover
Changing the Password
Resetting a Password
Querying DCS Instance Statuses
Restarting DCS Instances or Clearing DCS Instance Data
Querying Statistics of All Running Instances
Shards and Replicas
Configuring Replica Priority
Querying Details of Shards
Querying Instance Nodes in Batches
Parameter Management
Querying DCS Instance Configuration Parameters
Modifying Configuration Parameters
Backup and Restoration
Deleting Backup Files
Restoring a DCS Instance
Querying DCS Instance Restoration Records
Obtaining the Backup File URL
Backing Up a DCS Instance
Listing DCS Instance Backup Records
Data Migration
Creating a Backup Import Task
Listing Migration Tasks
Deleting Data Migration Tasks
Querying Details of a Data Migration Task
Stopping a Data Migration Task
Querying the Progress of an Online Migration Task
Creating an Online Data Migration Task
Configuring an Online Data Migration Task
Stopping Data Migration Tasks
Log Management
Querying the Slow Log
Background Task Management
Listing Background Tasks
Deleting a Background Task
Querying Background Task Details
Querying the Job Execution Result of a Tenant
Other APIs
Querying Product Flavors
Listing Maintenance Time Windows
Querying the Tenant Quotas
Querying AZs
Outdated APIs (V1)
Lifecycle Management APIs
Creating a DCS Instance
Deleting a Single DCS Instance
Batch Deleting DCS Instances
Querying a DCS Instance
Querying All DCS Instances of a Tenant
Modifying Information About a DCS Instance
Scaling Up a DCS Instance
Instance Management APIs
Restarting DCS Instances or Clearing DCS Instance Data
Querying Statistics of All Running Instances
Querying DCS Instance Status
Changing the Password of a DCS Instance
Parameter Management APIs
Modifying Configuration Parameters
Querying Configuration Parameters
Backup and Restoration APIs
Backing Up a DCS Instance
Restoring a DCS Instance
Querying DCS Instance Backup Records
Querying DCS Instance Restoration Records
Deleting Backup Files
Other APIs
Querying Service Specifications
Querying the Quota of a Tenant
Querying Maintenance Time Window
Querying AZ Information
Permissions Policies and Supported Actions
Appendix
Status Codes
Error Codes
Obtaining a Project ID
Obtaining the Account Name and Account ID
DCS Instance Statuses
Instance Diagnosis IDs
User Guide (Ankara Region)
Service Overview
What Is DCS?
Application Scenarios
DCS Instance Types
Single-Node Redis
Master/Standby Redis
Proxy Cluster Redis
Redis Cluster
DCS Instance Specifications
Redis 3.0 Instance Specifications (Obsolete)
Redis 4.0 and 5.0 Instance Specifications
Redis 6.0 Instance Specifications
Command Compatibility
Commands Supported and Disabled by DCS for Redis 3.0
Commands Supported and Disabled by DCS for Redis 4.0
Commands Supported and Disabled by DCS for Redis 5.0
Commands Supported and Disabled by DCS for Redis 6.0
Web CLI Commands
Command Restrictions
Other Command Usage Restrictions
HA
Comparing Redis Versions
Comparing DCS and Open-Source Cache Services
Basic Concepts
Permissions Management
Related Services
Getting Started
Creating an Instance
Identifying Requirements
Preparing Required Resources
Creating a DCS Redis Instance
Accessing an Instance
Network Conditions for Accessing DCS Redis
Accessing a DCS Redis Instance Through redis-cli
Access in Different Languages
Java
Connecting to Redis on Jedis (Java)
Connecting to Redis on Lettuce (Java)
Connecting to Redis on Redisson (Java)
Connecting to Redis on redis-py (Python)
Connecting to Redis on go-redis (Go)
Connecting to Redis on hiredis (C++)
Connecting to Redis on StackExchange.Redis (C#)
PHP
Connecting to Redis on phpredis (PHP)
Connecting to Redis on predis (PHP)
Connecting to Redis on ioredis (Node.js)
Accessing a DCS Redis Instance on the Console
Viewing Details of a DCS Instance
User Guide
Permissions Management
Creating a User and Granting DCS Permissions
DCS Custom Policies
Operating DCS Instances
Modifying DCS Instance Specifications
Restarting DCS Instances
Deleting DCS Instances
Performing a Master/Standby Switchover for a DCS Instance
Clearing DCS Instance Data
Exporting DCS Instance List
Managing DCS Instances
Configuration Notice
Modifying Configuration Parameters
Modifying Maintenance Time Window
Modifying the Security Group
Viewing Background Tasks
Viewing Data Storage Statistics of a DCS Redis 3.0 Proxy Cluster Instance
Managing Shards and Replicas
Analyzing Big Keys and Hot Keys
Scanning and Deleting Expired Keys in a DCS Redis Instance
Managing IP Address Whitelist
Viewing Redis Run Logs
Diagnosing an Instance
Backing Up and Restoring DCS Instances
Overview
Configuring an Automatic Backup Policy
Manually Backing Up a DCS Instance
Restoring a DCS Instance
Downloading a Backup File
Migrating Data with DCS
Introduction to Migration with DCS
Importing Backup Files
Importing Backup Files from an OBS Bucket
Importing Backup Files from Redis
Migrating Data Online
Managing Passwords
DCS Instance Passwords
Changing Instance Passwords
Resetting Instance Passwords
Changing Password Settings for DCS Redis Instances
Monitoring
DCS Metrics
Viewing DCS Monitoring Metrics
Best Practices
Service Application
Serializing Access to Frequently Accessed Resources
Ranking with DCS
Network Connection
Configuring Redis Client Retry
Usage Guide
Suggestions on Using DCS
FAQs
Instance Types/Versions
Comparing Versions
How Do I View the Version of a DCS Redis Instance?
New Features of DCS for Redis 4.0
New Features of DCS for Redis 5.0
New Features of DCS for Redis 6.0
Client and Network Connection
Security Group Configurations
Does DCS Support Access at EIPs?
Does DCS Support Cross-VPC Access?
What Should I Do If Access to DCS Fails After Server Disconnects?
Why Do Requests Sometimes Time Out in Clients?
What Should I Do If an Error Is Returned When I Use the Jedis Connection Pool?
Why Is "ERR unknown command" Displayed When I Access a DCS Redis Instance Through a Redis Client?
How Do I Access a DCS Redis Instance Through Redis Desktop Manager?
What If "ERR Unsupported CONFIG subcommand" is Displayed in SpringCloud?
How Do I Troubleshoot Redis Connection Failures?
What Should Be Noted When Using Redis for Pub/Sub?
Should I Use a Domain Name or an IP Address to Connect to a DCS Redis Instance?
Redis Usage
Why Is CPU Usage of a DCS Redis Instance 100%?
Can I Change the VPC and Subnet for a DCS Redis Instance?
Why Aren't Security Groups Configured for DCS Redis 4.0 and Later Instances?
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?
Why Is Available Memory Smaller Than Instance Cache Size?
Does DCS for Redis Support Multiple Databases?
Does DCS for Redis Support Redis Clusters?
Does DCS for Redis Support Sentinel?
What Is the Default Data Eviction Policy?
What Should I Do If an Error Occurs in Redis Exporter?
Why Is Redisson Distributed Lock Not Supported by DCS Proxy Cluster Redis 3.0 Instances?
Can I Customize or Change the Port for Accessing a DCS Instance?
Can I Modify the Connection Addresses for Accessing a DCS Instance?
Does DCS Support Cross-AZ Deployment?
Why Does It Take a Long Time to Start a Cluster DCS Instance?
What If Redis Commands Are Incompatible with DCS for Redis?
Does DCS for Redis Provide Backend Management Software?
Why Is Memory of a DCS Redis Instance Used Up by Just a Few Keys?
Can I Recover Data from Deleted DCS Instances?
Why Is "Error in execution" Returned When I Access Redis?
Redis Commands
How Do I Clear Redis Data?
How Do I Disable High-Risk Commands?
Does DCS for Redis Support Pipelining?
Does DCS for Redis Support the INCR and EXPIRE Commands?
Why Do I Fail to Execute Some Redis Commands?
Why Does a Redis Command Fail to Take Effect?
Is There a Time Limit on Executing Redis Commands? What Will Happen If a Command Times Out?
Instance Scaling and Upgrade
Can DCS Redis Instances Be Upgraded, for Example, from Redis 4.0 to 5.0?
Are Services Interrupted If Maintenance is Performed During the Maintenance Time Window?
Are Instances Stopped or Restarted During Specification Modification?
Are Services Interrupted During Specification Modification?
Why Can't I Modify Specifications for a DCS Redis Instance?
Monitoring and Alarm
Does Redis Support Command Audits?
What Should I Do If the Monitoring Data of a DCS Redis Instance Is Abnormal?
Why Is Available Memory of Unused DCS Instances Less Than Total Memory and Why Is Memory Usage of Unused DCS Instances Greater Than Zero?
Why Is Used Memory Greater Than Available Memory?
Why Is Flow Control Triggered? How Do I Handle It?
Data Backup, Export, and Migration
How Do I Export DCS Redis Instance Data?
Can I Export Backup Data of DCS Redis Instances to RDB Files Using the Console?
Why Are Processes Frequently Killed During Data Migration?
Is All Data in a DCS Redis Instance Migrated During Online Migration?
Do DCS Redis Instances Support Data Persistence? What Is the Impact of Persistence?
When Will AOF Rewrites Be Triggered?
Online Migration with Rump
Big/Hot Key Analysis and Expired Key Scan
What Are Big Keys and Hot Keys?
What Is the Impact of Big Keys or Hot Keys?
How Do I Avoid Big Keys and Hot Keys?
How Do I Analyze the Hot Keys of a DCS Redis 3.0 Instance?
How Do I Detect Big Keys and Hot Keys in Advance?
How Does DCS Delete Expired Keys?
How Long Are Keys Stored? How Do I Set Key Expiration?
Master/Standby Switchover
When Does a Master/Standby Switchover Occur?
How Does Master/Standby Switchover Affect Services?
Does the Client Need to Switch the Connection Address After a Master/Standby Switchover?
How Does Redis Master/Standby Replication Work?