Redis 6.0 Commands¶
DCS for Redis 6.0 is compatible with Redis 6.2.7 and with open-source protocols and commands.
This section describes DCS for Redis 6.0's command compatibility, including supported and disabled commands.
For more information about the command syntax, visit the Redis official website.
DCS Redis instances support most Redis commands. 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 6.0.
Some Redis commands (such as KEYS, FLUSHDB, and FLUSHALL) have usage restrictions, which are described in Other Command Usage Restrictions.
Commands Supported by DCS for Redis 6.0¶
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 | CONFIG GET |
PTTL | GET | HKEYS | LPOP | SISMEMBER | ZRANK | MONITOR |
RANDOMKEY | GETRANGE | HMGET | LPUSHX | SMEMBERS | ZREMRANGEBYRANK | SLOWLOG |
RENAME | GETSET | HMSET | LRANGE | SMOVE | ZREMRANGEBYCORE | ROLE |
RENAMENX | INCR | HSET | LREM | SPOP | ZREVRANGE | SWAPDB |
RESTORE | INCRBY | HSETNX | LSET | SRANDMEMBER | ZREVRANGEBYSCORE | MEMORY |
SORT | INCRBYFLOAT | HVALS | LTRIM | SREM | ZREVRANK | CONFIG |
TTL | MGET | HSCAN | RPOP | SUNION | ZSCORE | ACL |
TYPE | MSET | HSTRLEN | RPOPLPU | SUNIONSTORE | ZUNIONSTORE |
|
SCAN | MSETNX | HLEN | RPOPLPUSH | SSCAN | ZINTERSTORE |
|
OBJECT | PSETEX |
| RPUSH | SMISMEMBER | ZSCAN |
|
PEXPIREAT | SET |
| RPUSHX |
| ZRANGEBYLEX |
|
PEXPIRE | SETBIT |
| LPUSH |
| ZLEXCOUNT |
|
KEYS | SETEX |
| BLMOVE |
| ZPOPMIN |
|
COPY | SETNX |
| LMOVE |
| ZPOPMAX |
|
| SETRANGE |
| LPOS |
| ZREMRANGEBYSCORE |
|
| STRLEN |
|
|
| ZREM |
|
| BITFIELD |
|
|
| ZDIFF |
|
| BITFIELD_RO |
|
|
| ZDIFFSTORE |
|
| GETDEL |
|
|
| ZINTER |
|
| GETEX |
|
|
| ZMSCORE |
|
|
|
|
|
| ZRANDMEMBER |
|
|
|
|
|
| ZRANGESTORE |
|
|
|
|
|
| ZUNION |
|
PFADD | PSUBSCRIBE | DISCARD | AUTH | EVAL | GEOADD | XACK |
PFCOUNT | PUBLISH | EXEC | ECHO | EVALSHA | GEOHASH | XADD |
PFMERGE | PUBSUB | MULTI | PING | SCRIPT EXISTS | GEOPOS | XCLAIM |
| PUNSUBSCRIBE | UNWATCH | QUIT | SCRIPT FLUSH | GEODIST | XDEL |
| SUBSCRIBE | WATCH | SELECT (not supported by Redis Cluster instances) | SCRIPT KILL | GEORADIUS | XGROUP |
| UNSUBSCRIBE |
| CLIENT CACHING | SCRIPT LOAD | GEORADIUSBYMEMBER | XINFO |
|
|
| CLIENT GETREDIR |
|
| XLEN |
|
|
| CLIENT INFO |
|
| XPENDING |
|
|
| CLIENT TRACKING |
|
| XRANGE |
|
|
| CLIENT TRACKINGINFO |
|
| XREAD |
|
|
| CLIENT UNPAUSE |
|
| XREADGROUP |
|
|
| CLIENT KILL |
|
| XREVRANGE |
|
|
| CLIENT LIST |
|
| XTRIM |
|
|
| CLIENT GETNAME |
|
| XAUTOCLAIM |
|
|
| CLIENT SETNAME |
|
| XGROUP CREATECONSUMER |
|
|
| HELLO |
|
|
|
|
|
| RESET |
|
|
|
Commands Disabled by DCS for Redis 6.0¶
MIGRATE | SLAVEOF | CLUSTER MEET |
| SHUTDOWN | CLUSTER FLUSHSLOTS |
| LASTSAVE | CLUSTER ADDSLOTS |
| DEBUG commands | CLUSTER DELSLOTS |
| COMMAND | CLUSTER SETSLOT |
| SAVE | CLUSTER BUMPEPOCH |
| BGSAVE | CLUSTER SAVECONFIG |
| BGREWRITEAOF | CLUSTER FORGET |
| SYNC | CLUSTER REPLICATE |
| PSYNC | CLUSTER COUNT-FAILURE-REPORTS |
|
| CLUSTER FAILOVER |
|
| CLUSTER SET-CONFIG-EPOCH |
|
| CLUSTER RESET |