Help Center/ Distributed Cache Service/ Service Overview/ Command Compatibility/ Commands Supported and Disabled by DCS for Redis 6.0
Updated on 2023-09-28 GMT+08:00

Commands Supported and Disabled by DCS for Redis 6.0

This section describes DCS for Redis 6.0's compatibility with KeyDB commands, including supported and disabled commands.

For more information about the command syntax, visit the KeyDB official website.

DCS Redis instances support most Redis commands. Any client compatible with the Redis protocol can access DCS.

Commands Supported by DCS for Redis 6.0

The following lists commands supported by DCS for Redis 6.0.

Table 1 Commands supported by DCS for Redis 6.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

HSTRLEN

RPOPLPU

SUNIONSTORE

ZUNIONSTORE

SWAPDB

SCAN

MSETNX

HLEN

RPOPLPUSH

SSCAN

ZINTERSTORE

MEMORY

OBJECT

PSETEX

-

RPUSH

-

ZSCAN

CONFIG

PEXPIREAT

SET

-

RPUSHX

-

ZRANGEBYLEX

-

PEXPIRE

SETBIT

-

LPUSH

-

ZLEXCOUNT

-

KEYS

SETEX

-

-

-

ZPOPMIN

-

-

SETNX

-

-

-

ZPOPMAX

-

-

SETRANGE

-

-

-

ZREMRANGEBYSCORE

-

-

STRLEN

-

-

-

ZREM

-

-

BITFIELD

-

-

-

-

-

Table 2 Commands supported by DCS for Redis 6.0 (2)

HyperLoglog

Pub/Sub

Transactions

Connection

Scripting

Geo

Stream

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

SCRIPT KILL

GEORADIUS

XGROUP

-

UNSUBSCRIBE

-

-

SCRIPT LOAD

GEORADIUSBYMEMBER

XINFO

-

-

-

-

-

-

XLEN

-

-

-

-

-

-

XPENDING

-

-

-

-

-

-

XRANGE

-

-

-

-

-

-

XREAD

-

-

-

-

-

-

XREADGROUP

-

-

-

-

-

-

XREVRANGE

-

-

-

-

-

-

XTRIM

Commands Disabled by DCS for Redis 6.0

Table 3 Redis commands disabled in DCS Redis 6.0 instances

Generic (Key)

Server

MIGRATE

SLAVEOF

-

SHUTDOWN

-

LASTSAVE

-

DEBUG commands

-

COMMAND

-

SAVE

-

BGSAVE

-

BGREWRITEAOF

-

SYNC

-

PSYNC

Commands That Can Be Renamed

Table 4 Commands that can be renamed

Command

command, keys, flushdb, flushall, hgetall, scan, hscan, sscan, and zscan

Method

See Renaming Commands.