-
Notifications
You must be signed in to change notification settings - Fork 474
Support Commands
Ruixiang Tan edited this page Oct 29, 2022
·
12 revisions
Command | Supported OR Not | Desc |
---|---|---|
append | √ | |
decr | √ | |
decrby | √ | |
get | √ | |
getrange | √ | |
getset | √ | |
incr | √ | |
incrby | √ | |
incrbyfloat | √ | |
mget | √ | |
mset | √ | |
msetnx | √ | |
psetex | √ | only supports second |
set | √ | |
setex | √ | |
setnx | √ | |
setrange | √ | |
strlen | √ | |
unlink | √ | |
cas | √ | see https://github.com/KvrocksLabs/kvrocks/pull/415 |
cad | √ | see https://github.com/KvrocksLabs/kvrocks/pull/415 |
Command | Supported OR Not | Desc |
---|---|---|
hdel | √ | |
hexists | √ | |
hget | √ | |
hgetall | √ | |
hincrby | √ | |
hincrbyfloat | √ | |
hkeys | √ | |
hlen | √ | |
hmget | √ | |
hmset | √ | |
hset | √ | |
hsetnx | √ | |
hstrlen | √ | |
hvals | √ | |
hscan | √ |
Command | Supported OR Not | Desc |
---|---|---|
blpop | √ | |
brpop | √ | |
brpoplpush | X | |
lindex | √ | Caution: linsert is O(N) operation, don't use it when list was extreme long |
linsert | √ | |
llen | √ | |
lpop | √ | |
lpush | √ | |
lpushx | √ | |
lrange | √ | |
lrem | √ | Caution: lrem is O(N) operation, don't use it when list was extreme long |
lset | √ | |
ltrim | √ | Caution: ltrim is O(N) operation, don't use it when list was extreme long |
rpop | √ | |
rpoplpush | √ | |
rpush | √ | |
rpushx | √ | |
lmove | √ |
Command | Supported OR Not | Desc |
---|---|---|
sadd | √ | |
scard | √ | |
sdiff | √ | |
sdiffstore | √ | |
sinter | √ | |
sinterstore | √ | |
sismember | √ | |
smembers | √ | |
smove | √ | |
spop | √ | pop the member with key oreder |
srandmember | √ | always first N members if not changed |
srem | √ | |
sunion | √ | |
sunionstore | √ | |
sscan | √ |
Command | Supported OR Not | Desc |
---|---|---|
bzpopmin | X | |
bzpopmax | X | |
zadd | √ | |
zcard | √ | |
zcount | √ | |
zincrby | √ | |
zinterstore | √ | |
zlexcount | √ | |
zpopmin | √ | |
zpopmax | √ | |
zrange | √ | |
zrangebylex | √ | |
zrangebyscore | √ | |
zrank | √ | |
zrem | √ | |
zremrangebylex | √ | |
zremrangebyrank | √ | |
zremrangebyscore | √ | |
zrevrank | √ | |
zrevrange | √ | |
zrevrangebylex | √ | |
zrevrangebyscore | √ | |
zscan | √ | |
zscore | √ | |
zmscore | √ | multi zscore |
zunionstore | √ |
Command | Supported OR Not | Desc |
---|---|---|
del | √ | |
dump | X | |
exists | √ | |
expire | √ | |
expireat | √ | |
keys | √ | |
persist | √ | |
pexpire | √ | precision is seconds |
pexpireat | √ | precision is seconds |
pttl | √ | |
ttl | √ | |
type | √ | |
scan | √ | |
rename | X | |
randomkey | √ |
Command | Supported OR Not | Desc |
---|---|---|
getbit | √ | |
setbit | √ | |
bitcount | √ | |
bitpos | √ | |
bitfield | X | |
bitop | √ |
NOTE : String and Bitmap is different type in kvrocks, so you can't do bit with string, vice versa.
Command | Supported OR Not | Desc |
---|---|---|
eval | √ | |
evalsha | √ | |
script | √ | script kill and debug subcommand are not supported |
Command | Supported OR Not | Desc |
---|---|---|
psubscribe | √ | |
publish | √ | |
pubsub | √ | |
punsubscribe | √ | |
subscribe | √ | |
unsubscribe | √ |
Command | Supported OR Not | Desc |
---|---|---|
multi | √ | |
exec | √ | |
discard | √ | |
watch | X | |
unwatch | X |
Command | Supported OR Not | Desc |
---|---|---|
sicard | √ | like scard |
siadd | √ | like sadd, but member is int |
sirem | √ | like srem, but member is int |
sirange | √ | sirange key offset count cursor since_id |
sirevrange | √ | sirevrange key offset count cursor max_id |
siexists | √ | siexists key member1 (member2 ...) |
sirangebyvalue | √ | sirangebyvalue key min max (LIMIT offset count) |
sirevrangebyvalue | √ | sirevrangebyvalue key max min (LIMIT offset count) |
Subcommand | Supported OR Not | Desc |
---|---|---|
info | √ | |
nodes | √ | |
slots | √ | |
keyslot | √ |
Command | Supported OR Not | Desc |
---|---|---|
monitor | √ | |
info | √ | |
role | √ | |
config | √ | |
dbsize | √ | |
disk | √ |
disk usage user_key to get the disk usage of the user_key , see details: https://github.com/apache/incubator-kvrocks/issues/874
|
namespace | √ | |
flushdb | √ | |
flushall | √ | |
command | √ | |
client | √ | |
quit | √ | |
slowlog | √ | |
perflog | √ | |
hello | √ |
NOTE : The db size was updated async after execute dbsize scan
command
Command | Supported OR Not | Desc |
---|---|---|
geoadd | √ | |
geodist | √ | |
geohash | √ | |
geopos | √ | |
georadius | √ | |
georadiusbymember | √ |
Not Supported
- Overview
- Support Commands
- Server Installation
- User Guide
- Tools
- Operations
- Cluster
- Performance & Troubleshooting
- FAQ