Estos contenidos se han traducido de forma automática para su comodidad, pero Huawei Cloud no garantiza la exactitud de estos. Para consultar los contenidos originales, acceda a la versión en inglés.
Cómputo
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
Gestión y gobernanza
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
Migración
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álisis
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
IoT
IoT Device Access
Otros
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Seguridad y cumplimiento
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Servicios multimedia
Media Processing Center
Video On Demand
Live
SparkRTC
Almacenamiento
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Contenedores
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Bases de datos
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
Aplicaciones empresariales
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
Distribución de contenido y cómputo de borde
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Soluciones
SAP Cloud
High Performance Computing
Servicios para desarrolladores
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
Cloud Application Engine
aPaaS MacroVerse
KooPhone
KooDrive
Centro de ayuda/ Distributed Cache Service/ Descripción general del servicio/ Compatibilidad de los comandos/ Comandos admitidos y deshabilitados por DCS for Redis 3.0 (descontinuados)

Comandos admitidos y deshabilitados por DCS for Redis 3.0 (descontinuados)

Actualización más reciente 2025-01-23 GMT+08:00

DCS for Redis 3.0 está desarrollado basado en Redis 3.0.7 y es compatible con los protocolos y comandos de código abierto. Esta sección describe la compatibilidad de DCS for Redis 3.0 con los comandos de Redis, incluidos los comandos compatibles, los comandos deshabilitados, las secuencias de comandos y los comandos no compatibles de versiones posteriores de Redis y las restricciones en el uso de los comandos.

NOTA:

DCS for Redis 3.0 ya no se proporciona. Puede utilizar DCS for Redis 4.0, 5.0 o 6.0 en su lugar.

Las instancias de DCS para Redis admiten la mayoría de los comandos de Redis. Cualquier cliente compatible con el protocolo de Redis puede acceder a DCS.

Comandos compatibles con DCS for Redis 3.0

A continuación se enumeran los comandos compatibles con DCS for Redis 3.0. Para obtener más información sobre la sintaxis del comando, visite el sitio web oficial de Redis. Por ejemplo, para ver detalles sobre el comando SCAN, escriba SCAN en el cuadro de búsqueda de esta página.

NOTA:
  • Los comandos disponibles desde las versiones posteriores de Redis no son compatibles con las instancias de versiones anteriores. Ejecute un comando en redis-cli para comprobar si es compatible con DCS for Redis. Si se devuelve el mensaje "(error) ERR unknown command", el comando no es compatible.
  • Las instancias de Clúster Proxy no admiten los siguientes comandos enumerados en las tablas:
    • Grupo de List: BLPOP, BRPOP, y BRPOPLRUSH
    • Los comandos de CLIENT en el grupo de Server: CLIENT KILL, CLIENT GETNAME, CLIENT LIST, CLIENT SETNAME, CLIENT PAUSE, y CLIENT REPLY.
    • Grupo de Server: MONITOR
    • Grupo de Transactions: UNWATCH y WATCH
    • Grupo de Key: RANDOMKEY (para las instancias antiguas)
Tabla 1 Comandos soportados por instancias de DCS para Redis 3.0 (1)

Generic (Key)

String

Hash

List

Set

Sorted Set

Server

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

CLIENT KILL

PTTL

GET

HKEYS

LPOP

SISMEMBER

ZRANK

CLIENT LIST

RANDOMKEY

GETRANGE

HMGET

LPUSHX

SMEMBERS

ZREMRANGEBYRANK

CLIENT GETNAME

RENAME

GETSET

HMSET

LRANGE

SMOVE

ZREMRANGEBYCORE

CLIENT SETNAME

RENAMENX

INCR

HSET

LREM

SPOP

ZREVRANGE

CONFIG GET

RESTORE

INCRBY

HSETNX

LSET

SRANDMEMBER

ZREVRANGEBYSCORE

MONITOR

SORT

INCRBYFLOAT

HVALS

LTRIM

SREM

ZREVRANK

SLOWLOG

TTL

MGET

HSCAN

RPOP

SUNION

ZSCORE

ROLE

TYPE

MSET

-

RPOPLPU

SUNIONSTORE

ZUNIONSTORE

-

SCAN

MSETNX

-

RPOPLPUSH

SSCAN

ZINTERSTORE

-

OBJECT

PSETEX

-

RPUSH

-

ZSCAN

-

KEYS

SET

-

RPUSHX

-

ZRANGEBYLEX

-

-

SETBIT

-

-

-

-

-

-

SETEX

-

-

-

-

-

-

SETNX

-

-

-

-

-

-

SETRANGE

-

-

-

-

-

-

STRLEN

-

-

-

-

-

Tabla 2 Comandos soportados por instancias de DCS para Redis 3.0 (2)

HyperLoglog

Pub/Sub

Transactions

Connection

Scripting

Geo

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 deshabilitados por DCS for Redis 3.0

A continuación se enumeran los comandos deshabilitados por DCS for Redis 3.0.

Tabla 3 Comandos de Redis desactivados en las instancias de DCS compatibles con Redis 3.0 de nodo único y principal/en espera

Generic (Key)

Server

MIGRATE

SLAVEOF

-

SHUTDOWN

-

LASTSAVE

-

DEBUG commands

-

COMMAND

-

SAVE

-

BGSAVE

-

BGREWRITEAOF

Tabla 4 Comandos de Redis deshabilitados en instancias de Clúster Proxy de DCS compatibles con Redis 3.0

Generic (Key)

Server

List

Transactions

Connection

Cluster

codis

MIGRATE

SLAVEOF

BLPOP

DISCARD

SELECT

CLUSTER

TIME

MOVE

SHUTDOWN

BRPOP

EXEC

-

-

SLOTSINFO

-

LASTSAVE

BRPOPLPUSH

MULTI

-

-

SLOTSDEL

-

DEBUG commands

-

UNWATCH

-

-

SLOTSMGRTSLOT

-

COMMAND

-

WATCH

-

-

SLOTSMGRTONE

-

SAVE

-

-

-

-

SLOTSCHECK

-

BGSAVE

-

-

-

-

SLOTSMGRTTAGSLOT

-

BGREWRITEAOF

-

-

-

-

SLOTSMGRTTAGONE

-

SYNC

-

-

-

-

-

-

PSYNC

-

-

-

-

-

-

MONITOR

-

-

-

-

-

-

CLIENT commands

-

-

-

-

-

-

OBJECT

-

-

-

-

-

-

ROLE

-

-

-

-

-

Utilizamos cookies para mejorar nuestro sitio y tu experiencia. Al continuar navegando en nuestro sitio, tú aceptas nuestra política de cookies. Descubre más

Comentarios

Comentarios

Comentarios

0/500

Seleccionar contenido

Enviar el contenido seleccionado con los comentarios