Este conteúdo foi traduzido por máquina para sua conveniência e a Huawei Cloud não pode garantir que o conteúdo foi traduzido com precisão. Para exibir o conteúdo original, use o link no canto superior direito para mudar para a página em inglês.
Computação
Elastic Cloud Server
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Redes
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Gerenciamento e governança
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
Cloud Operations Center
Resource Governance Center
Migração
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Análises
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
IoT
IoT Device Access
Outros
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Segurança e conformidade
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Serviços de mídia
Media Processing Center
Video On Demand
Live
SparkRTC
Armazenamento
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Cloud Server Backup Service
Storage Disaster Recovery Service
Scalable File Service
Volume Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Bancos de dados
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Aplicações de negócios
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Data Lake Factory
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Distribuição de conteúdo e computação de borda
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Soluções
SAP Cloud
High Performance Computing
Serviços para desenvolvedore
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
Cloud Application Engine
MacroVerse aPaaS
KooPhone
KooDrive

Comandos do Redis 3.0

Atualizado em 2022-11-07 GMT+08:00

O DCS for Redis 3.0 foi desenvolvido com base no Redis 3.0.7 e é compatível com protocolos e comandos de código aberto. Esta seção descreve a compatibilidade do DCS for Redis 3.0 com comandos do Redis, incluindo comandos suportados, comandos desabilitados, scripts e comandos não suportados de versões posteriores do Redis e restrições ao uso de comandos.

O DCS for Redis 3.0 não é mais fornecido. Em vez disso, você pode usar o DCS para Redis 4.0 ou 5.0.

As instâncias do DCS Redis são compatíveis com a maioria dos comandos do Redis. Qualquer cliente compatível com o protocolo Redis pode acessar o DCS.

Comandos suportados pelo DCS for Redis 3.0

A lista a seguir apresenta os comandos suportados pelo DCS para o Redis 3.0. Para obter detalhes sobre a sintaxe do comando, visite o site oficial do Redis. Por exemplo, para exibir detalhes sobre o comando SCAN, digite SCAN na caixa de pesquisa desta página.

  • Os comandos disponíveis desde versões posteriores do Redis não são suportados por instâncias de versões anteriores. Execute um comando no redis-cli para verificar se ele é suportado pelo DCS for Redis. Se a mensagem "(error) ERR comando desconhecido" for retornada, o comando não é suportado.
  • Os seguintes comandos listados nas tabelas não são suportados por instâncias de cluster de proxy:
    • List grupo: BLPOP, BRPOP e BRPOPLRUSH
    • Comandos CLIENT no grupo Server: CLIENT KILL, CLIENT GETNAME, CLIENT LIST, CLIENT SETNAME, CLIENT PAUSE e CLIENT REPLY.
    • Grupo de Server: MONITOR
    • Grupo de Transactions: UNWATCH e WATCH
    • Grupo Key: RANDOMKEY (para instâncias antigas)
Tabela 1 Comandos suportados pelas instâncias do DCS Redis 3.0 (1)

Chaves

String

Hash

Lista

Set

Conjunto Ordenado

Servidor

DEL

APPEND

HDEL

BLPOP

SADD

ZADD

FLUSHALL

DUMP

BITCOUNT

HEXISTS

BRPOP

SCARD

ZCARD

FLUSHDB

EXISTS

BITOP

HGET

BRPOPLRUSH

SDIFF

ZCOUNT

DBSIZE

EXPIRE

BITPOS

HGETALL

LINDEX

SDIFFSTORE

ZINCRBY

TIME

MOVE

DECR

HINCRBY

LINSERT

SINTER

ZRANGE

INFO

PERSIST

DECRBY

HINCRBYFLOAT

LLEN

SINTERSTORE

ZRANGEBYSCORE

KEYS

PTTL

GET

HKEYS

LPOP

SISMEMBER

ZRANK

CLIENT KILL

RANDOMKEY

GETRANGE

HMGET

LPUSHX

SMEMBERS

ZREMRANGEBYRANK

CLIENT LIST

RENAME

GETSET

HMSET

LRANGE

SMOVE

ZREMRANGEBYCORE

CLIENT GETNAME

RENAMENX

INCR

HSET

LREM

SPOP

ZREVRANGE

CLIENT SETNAME

RESTORE

INCRBY

HSETNX

LSET

SRANDMEMBER

ZREVRANGEBYSCORE

CONFIG GET

SORT

INCRBYFLOAT

HVALS

LTRIM

SREM

ZREVRANK

MONITOR

TTL

MGET

HSCAN

RPOP

SUNION

ZSCORE

SLOWLOG

TYPE

MSET

-

RPOPLPU

SUNIONSTORE

ZUNIONSTORE

ROLE

SCAN

MSETNX

-

RPOPLPUSH

SSCAN

ZINTERSTORE

-

OBJECT

PSETEX

-

RPUSH

-

ZSCAN

-

-

SET

-

RPUSHX

-

ZRANGEBYLEX

-

-

SETBIT

-

-

-

-

-

-

SETEX

-

-

-

-

-

-

SETNX

-

-

-

-

-

-

SETRANGE

-

-

-

-

-

-

STRLEN

-

-

-

-

-

Tabela 2 Comandos suportados pelas instâncias do DCS Redis 3.0 (2)

HyperLoglog

Pub/Sub

Transações

Ligação

Scripting

Geográficos

PFADD

PSUBSCRIBE

DISCARD

AUTH

EVAL

GEOADD

PFCOUNT

PUBLISH

EXEC

ECHO

EVALSHA

GEOHASH

PFMERGE

PUBSUB

MULTI

PING

SCRIPT EXISTS

GEOPOS

-

PUNSUBSCRIBE

UNWATCH

QUIT

SCRIPT FLUSH

GEODIST

-

SUBSCRIBE

WATCH

SELECT

SCRIPT KILL

GEORADIUS

-

UNSUBSCRIBE

-

-

SCRIPT LOAD

GEORADIUSBYMEMBER

Comandos desabilitados pelo DCS para o Redis 3.0

A lista a seguir apresenta os comandos suportados pelo DCS para o Redis 3.0.

Tabela 3 Comandos do Redis desabilitados em instâncias do Redis 3.0 de nó único e de DCS principal/em espera

Chaves

Servidor

MIGRATE

SLAVEOF

-

SHUTDOWN

-

LASTSAVE

-

Comandos DEBUG

-

COMMAND

-

SAVE

-

BGSAVE

-

BGREWRITEAOF

Tabela 4 Comandos do Redis desativados em instâncias do Redis 3.0 do Cluster de Proxy DCS

Chaves

Servidor

Lista

Transações

Ligação

Aglomerado

codis

MIGRATE

SLAVEOF

BLPOP

DISCARD

SELECT

CLUSTER

TIME

MOVE

SHUTDOWN

BRPOP

EXEC

-

-

SLOTSINFO

-

LASTSAVE

BRPOPLPUSH

MULTI

-

-

SLOTSDEL

-

Comandos DEBUG

-

UNWATCH

-

-

SLOTSMGRTSLOT

-

COMMAND

-

WATCH

-

-

SLOTSMGRTONE

-

SAVE

-

-

-

-

SLOTSCHECK

-

BGSAVE

-

-

-

-

SLOTSMGRTTAGSLOT

-

BGREWRITEAOF

-

-

-

-

SLOTSMGRTTAGONE

-

SYNC

-

-

-

-

-

-

PSYNC

-

-

-

-

-

-

MONITOR

-

-

-

-

-

-

Comandos CLIENT

-

-

-

-

-

-

OBJECT

-

-

-

-

-

-

ROLE

-

-

-

-

-

Usamos cookies para aprimorar nosso site e sua experiência. Ao continuar a navegar em nosso site, você aceita nossa política de cookies. Saiba mais

Feedback

Feedback

Feedback

0/500

Conteúdo selecionado

Envie o conteúdo selecionado com o feedback