INFO
, SLOWLOG
, and SCAN
.
In the following table, ✓ indicates "supported", x indicates "unsupported", and - indicates that cross-slot access is not applicable to the command:Command Group | Command | 2.8 Memory Edition (Standard Architecture) | 4.0 Memory Edition (Standard Architecture) | 4.0 Memory Edition (Cluster Architecture) | 5.0 Memory Edition (Standard Architecture) | 5.0 Memory Edition (Cluster Architecture) | Cross-Slot Support in Memory Edition (Cluster Architecture) |
connection group
| echo | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| ping | ✓ | ✓ | Custom | ✓ | Custom | - |
| select | ✓ | ✓ | ✓ | ✓ | ✓ | - |
hash group | hdel | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| hexists | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| hget | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| hgetall | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| hincrby | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| hincrbyfloat | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| hkeys | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| hlen | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| hmget | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| hmset | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| hset | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| hsetnx | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| hstrlen | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| hvals | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| hscan | ✓ | ✓ | ✓ | ✓ | ✓ | - |
keys group | del | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| scan | ✓ | ✓ | Custom | ✓ | Custom | - |
| exists | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| expire | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| expireat | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| type | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| ttl | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| persist | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| pexpire | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| pexpireat | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| pttl | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| randomkey | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| rename | ✓ | ✓ | ✓ | ✓ | ✓ | x |
| renamenx | ✓ | ✓ | ✓ | ✓ | ✓ | x |
| touch | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| restore | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| unlink | x | ✓ | ✓ | ✓ | ✓ | x |
| move | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| dump | ✓ | ✓ | ✓ | ✓ | ✓ | - |
list group | lindex | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| linsert | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| llen | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| lpop | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| lpush | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| lpushx | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| lrange | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| lrem | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| lset | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| ltrim | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| rpop | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| rpoplpush | ✓ | ✓ | ✓ | ✓ | ✓ | x |
| rpush | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| rpushx | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| blpop | ✓ | ✓ | ✓ | ✓ | ✓ | x |
| brpop | ✓ | ✓ | ✓ | ✓ | ✓ | x |
| brpoplpush | ✓ | ✓ | ✓ | ✓ | ✓ | x |
sets group | sadd | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| scard | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| sdiff | ✓ | ✓ | ✓ | ✓ | ✓ | x |
| sdiffstore | ✓ | ✓ | ✓ | ✓ | ✓ | x |
| sinter | ✓ | ✓ | ✓ | ✓ | ✓ | x |
| sinterstore | ✓ | ✓ | ✓ | ✓ | ✓ | x |
| sismember | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| smembers | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| smove | ✓ | ✓ | ✓ | ✓ | ✓ | x |
| spop | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| srandmember | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| srem | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| sscan | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| sunion | ✓ | ✓ | ✓ | ✓ | ✓ | x |
| sunionstore | ✓ | ✓ | ✓ | ✓ | ✓ | x |
sorted sets group | zadd | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| zcard | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| zcount | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| zincrby | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| zinterstore | ✓ | ✓ | ✓ | ✓ | ✓ | x |
| zlexcount | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| zrange | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| zrangebylex | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| zrangebyscore | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| zrank | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| zrem | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| zremrangebylex | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| zremrangebyrank | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| zremrangebyscore | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| zrevrange | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| zrevrangebylex | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| zrevrangebyscore | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| zscore | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| zrevrank | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| zscan | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| zunionstore | ✓ | ✓ | ✓ | ✓ | ✓ | x |
| zpopmax | x | x | x | ✓ | ✓ | - |
| zpopmin | x | x | x | ✓ | ✓ | - |
| bzpopmax | x | x | x | ✓ | ✓ | - |
| bzpopmin | x | x | x | ✓ | ✓ | - |
strings group | append | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| bitcount | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| bitop | ✓ | ✓ | ✓ | ✓ | ✓ | x |
| bitpos | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| decr | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| decrby | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| get | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| getbit | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| getrange | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| getset | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| incr | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| incrby | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| incrbyfloat | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| mget | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| mset | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| msetnx | ✓ | ✓ | ✓ | ✓ | ✓ | x |
| psetex | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| setex | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| set | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| setbit | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| setnx | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| setrange | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| strlen | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| bitfield | x | ✓ | ✓ | ✓ | ✓ | - |
hyperloglog group | pfadd | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| pfcount | ✓ | ✓ | ✓ | ✓ | ✓ | x |
| pfmerge | ✓ | ✓ | ✓ | ✓ | ✓ | x |
server group | client list | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| client getname | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| client setname | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| dbsize | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| info | ✓ | ✓ | Custom | ✓ | Custom | - |
| time | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| lastsave | ✓ | ✓ | ✓ | ✓ | ✓ | - |
| slowlog | ✓ | ✓ | Custom | ✓ | Custom | - |
| cluster keyslot | x | x | ✓ | x | ✓ | - |
| cluster nodes | x | x | ✓ | x | ✓ | - |
| cluster slots | x | x | ✓ | x | ✓ | - |
| cluster info | x | x | ✓ | x | ✓ | - |
| lolwut | x | x | x | ✓ | ✓ | - |
この記事はお役に立ちましたか?