Redis Commands

String Commands

Command Supported Desc
append YES
get YES
getrange YES
getset YES
incr YES
incrby YES
incrbyfloat YES
mget YES
mset YES
msetnx YES
psetex YES
set YES
setex YES
setnx YES
setrange YES
strlen YES
substr YES

Key Commands

Command Supported Desc
decr YES
decrby YES
del YES
dump YES
dbsize YES O(N) operation, count the keys one by one
exists YES
expire YES
expireat YES
keys YES FirstkeysDefaultLimit keys. O(N) operation, check the keys one by one
move YES
object YES
persist YES
pexpire YES
pexpireat YES
pttl YES
scan NO In the progress
sort YES
randomkey NO
rename YES
renamenx YES
restore YES
ttl YES
type YES
unlink YES

Bit Commands

Command Supported Desc
getbit YES
setbit YES
bitcount YES
bitpos YES
bitfield YES
bitop YES

Hash Commands

Command Supported Desc
hdel YES
hexists YES
hget YES
hgetall YES
hincrby YES
hincrbyfloat YES
hkeys YES
hlen YES
hmget YES
hmset YES
hset YES
hsetnx YES
hstrlen YES
hvals YES
hscan YES

List Commands

Command Supported Desc
blpop NO
brpop NO
brpoplpush NO
lindex YES
linsert YES O(N) operation
llen YES
lpop YES
lpush YES
lpushx YES
lrange YES
lrem YES O(N) operation
lset YES
ltrim YES O(N) operation
rpop YES
rpoplpush YES
rpush YES
rpushx YES

Set Commands

Command Supported Desc
sadd YES
scard YES
sdiff YES
sdiffstore YES
sinter YES
sinterstore YES
sismember YES
smembers YES
smove YES
spop YES pop the members with subkey order
srandmember YES
srem YES
sscan YES
sunion YES
sunionstore YES

ZSet Commands

Command Supported Desc
bzpopmin NO Redis 5.0
bzpopmax NO Redis 5.0
zadd YES
zcard YES
zcount YES
zincrby YES
zinterstore YES
zlexcount YES
zpopmin NO Redis 5.0
zpopmax NO Redis 5.0
zrange YES
zrangebylex YES
zrangebyscore YES
zrank YES
zrem YES
zremrangebylex YES
zremrangebyrank YES
zremrangebyscore YES
zrevrange YES
zrevrangebylex YES
zrevrangebyscore YES
zscan YES
zscanbyscore YES
zscore YES
zmscore NO Redis 6.2
zunionstore YES

Pub/Sub Commands

Command Supported Desc
psubscribe NO
publish NO
pubsub NO
punsubscribe NO
subscribe NO
unsubscribe NO

GEO Commands

Command Supported Desc
geoadd NO In the progress
geodist NO In the progress
geohash NO In the progress
geopos NO In the progress
georadius NO In the progress
georadius_ro NO In the progress
georadiusbymember NO In the progress
georadiusbymember_ro NO In the progress

Hyperloglog Commands

Command Supported Desc
pfadd YES
pfcount YES
pfdebug YES
pfmerge YES
pfselftest YES

Cluster Commands

Command Supported Desc
cluster YES
readonly YES
readwrite YES

Administrator Commands

Command Supported Desc
auth YES
bgsave NO usebackup instead
client YES
command YES
config YES
debug NO
info YES Some details are different
memory NO
monitor YES
role NO
ping YES
shutdown YES
slaveof YES
slowlog YES
wait NO

LUA Comamands

Command Supported Desc
eval NO In the progress
evalsha NO
script NO

Transaction Commands

Command Supported Desc
exec NO In the progress
discard NO In the progress
multi NO In the progress
watch NO In the progress
unwatch NO In the progress

Other Commands

Command Supported Desc
echo YES
flushdb YES Equivalent toflushall
flushall YES
memory YES
select YES
swapdb NO
touch NO

Tendis commands

Binlog Commands

Command Supported Desc
binlogflush YES
binlogpos YES
binlogstart YES
binlogtime YES

CAS Commands

Command Supported Desc
cas YES
getvsn YES
increx YES
setnxex YES
hmcas YES
hmcasv2 YES
hmgetvsn YES

Hybird Version Commands

Command Supported Desc
dumpx YES
dexec YES
evict YES
incrmeta YES
revision YES
restoremeta YES
syncversion YES

Replication Commands

Command Supported Desc
applybinlogsv2 YES Internal Commands
binlog_heartbeat YES Internal Commands
fullsync YES Internal Commands
incrsync YES Internal Commands
restorebackup YES
restorebinlogv2 YES Internal Commands
restoreend YES Internal Commands

Migration Commands

Command Supported Desc
compactSlots YES
deleteslots YES
migrate_heartbeat YES Internal Commands
migratebinlogs YES Internal Commands
migrateend YES Internal Commands
migrateversionmeta YES Internal Commands
preparemigrate YES Internal Commands
readymigrate YES Internal Commands

Other Commands

Command Supported Desc
backup YES Replacebgsave
commandlist YES
flushalldisk YES Equivalent toflushall
iterall YES
iterallkeys YES
reshape YES
rocksproperty YES
show YES
slotsempty YES
tendisadmin YES
tendisstat YES
toggleincrsync YES

Internal Commands means user can’t call it directly