Command Compatibility

Last updated: 2020-09-17 10:18:40

    Command Compatibility of Different Editions

    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/Hybrid Storage 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 auth -
    echo -
    ping Custom Custom -
    quit -
    select -
    swapdb x -
    hash group hdel -
    hexists -
    hget -
    hgetall -
    hincrby -
    hincrbyfloat -
    hkeys -
    hlen -
    hmget -
    hmset -
    hset -
    hsetnx -
    hstrlen -
    hvals -
    hscan -
    keys group del
    scan Custom Custom -
    exists x
    expire -
    expireat -
    keys Custom Custom -
    type -
    move -
    ttl -
    persist -
    pexpire -
    pexpireat -
    pttl -
    randomkey -
    rename x
    renamenx x
    sort -
    list group lindex -
    linsert -
    llen -
    lpop -
    lpush -
    lpushx -
    lrange -
    lrem -
    lset -
    ltrim -
    rpop -
    rpoplpush x
    rpush -
    rpushx -
    blpop x
    brpop x
    brpoplpush x
    pub/sub group psubscribe -
    pubsub -
    publish -
    punsubscribe -
    subscribe -
    unsubscribe -
    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 -
    transactions group discard -
    exec -
    multi -
    unwatch -
    watch -
    hyperloglog group pfadd -
    pfcount x
    pfmerge x
    scripting group eval x
    evalsha x
    script debug -
    script exists x
    script flush -
    script load -
    script kill -
    geo group geoadd x -
    geohash x -
    geopos x -
    geodist x -
    georadius x -
    georadiusbymember x -
    keys group touch -
    restore -
    object x x x x x -
    unlink x x
    wait x x x x x -
    migrate x x x x x -
    dump -
    server group bgrewriteaof x x x x x -
    bgsave x x x x x -
    client kill x x x x x -
    sync x x x x x -
    psync x x x x x -
    client list -
    client getname x x x x x -
    client pause x x x x x -
    client reply x x x x x -
    client setname x x x x x -
    command count x x x x x -
    command getkeys x x x x x -
    command info x x x x x -
    slaveof x x x x x -
    config rewrite x x x x x -
    config set x x x x x -
    config resetstat x x x x x -
    debug object x x x x x -
    debug segfault x x x x x -
    role x x x x x -
    save x x x x x -
    lastsave x x x x x -
    shutdown x x x x x -
    MEMORY x Custom Custom -
    command -
    dbsize -
    info Custom Custom -
    time -
    client list -
    config get -
    monitor Custom Custom -
    flushdb Custom Custom -
    flushall -
    slowlog Custom Custom -
    cluster keyslot x x x -
    cluster nodes x x x -
    cluster getkeysinslot x x x -
    cluster (others) x x x x x -
    module x x x x x -
    lolwut x x x -
    Stream group xinfo x x x -
    xadd x x x -
    xtrim x x x -
    xdel x x x -
    xrange x x x -
    xrevrange x x x -
    xlen x x x -
    xread x x x x
    xgroup x x x -
    xreadgroup x x x x
    xack x x x -
    xlclaim x x x -
    xpending x x x -

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help