Commands Supported and Disabled by DCS for Redis 3.0
DCS for Redis 3.0 is developed based on Redis 3.0.7 and is compatible with open-source protocols and commands.
This section describes DCS for Redis 3.0's compatibility with Redis commands, including supported commands, disabled commands, unsupported scripts and commands of later Redis versions, and restrictions on command usage. For more information about the command syntax, visit the Redis official website.
DCS Redis 3.0 instances have been taken offline at new sites, but can still be used at existing sites. DCS Redis 4.0 or 5.0 instances are recommended.
DCS for Redis instances support most Redis commands, which are listed in Commands Supported by DCS for Redis 3.0. Any client compatible with the Redis protocol can access DCS.
- For security purposes, some Redis commands are disabled in DCS, as listed in Commands Disabled by DCS for Redis 3.0.
- Some Redis commands are supported by cluster DCS instances for multi-key operations in the same slot. For details, see Command Restrictions.
- Some Redis commands have usage restrictions, which are described in Other Command Usage Restrictions.
Commands Supported by DCS for Redis 3.0
The following lists commands supported by DCS for Redis 3.0.
- Commands available since later Redis versions are not supported by earlier-version instances. Run a command on redis-cli to check whether it is supported by DCS for Redis. If the message "(error) ERR unknown command" is returned, the command is not supported.
- The following commands listed in the tables are not supported by Proxy Cluster instances:
- List group: BLPOP, BRPOP, and BRPOPLRUSH
- CLIENT commands in the Server group: CLIENT KILL, CLIENT GETNAME, CLIENT LIST, CLIENT SETNAME, CLIENT PAUSE, and CLIENT REPLY.
- Server group: MONITOR
- Key group: RANDOMKE (for old Proxy Cluster instances)
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 |
- |
- |
- |
- |
- |
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 |
Commands Disabled by DCS for Redis 3.0
The following lists commands disabled by DCS for Redis 3.0.
MIGRATE |
SLAVEOF |
- |
SHUTDOWN |
- |
LASTSAVE |
- |
DEBUG commands |
- |
COMMAND |
- |
SAVE |
- |
BGSAVE |
- |
BGREWRITEAOF |
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 |
- |
- |
- |
- |
- |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot