Command Compatibility

Last updated: 2021-03-17 12:01:51

    Command Compatibility of Different Editions

    In the following table, ✓ indicates "supported", x indicates "unsupported", and "N/A" 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 auth N/A
    echo N/A
    ping Custom Custom N/A
    quit N/A
    select N/A
    swapdb x N/A
    hash group hdel N/A
    hexists N/A
    hget N/A
    hgetall N/A
    hincrby N/A
    hincrbyfloat N/A
    hkeys N/A
    hlen N/A
    hmget N/A
    hmset N/A
    hset N/A
    hsetnx N/A
    hstrlen N/A
    hvals N/A
    hscan N/A
    keys group del
    scan Custom Custom N/A
    exists
    expire N/A
    expireat N/A
    keys Custom Custom N/A
    type N/A
    move N/A
    ttl N/A
    persist N/A
    pexpire N/A
    pexpireat N/A
    pttl N/A
    randomkey N/A
    rename x
    renamenx x
    sort N/A
    list group lindex N/A
    linsert N/A
    llen N/A
    lpop N/A
    lpush N/A
    lpushx N/A
    lrange N/A
    lrem N/A
    lset N/A
    ltrim N/A
    rpop N/A
    rpoplpush x
    rpush N/A
    rpushx N/A
    blpop x
    brpop x
    brpoplpush x
    pub/sub group psubscribe N/A
    pubsub N/A
    publish N/A
    punsubscribe N/A
    subscribe N/A
    unsubscribe N/A
    sets group sadd N/A
    scard N/A
    sdiff x
    sdiffstore x
    sinter x
    sinterstore x
    sismember N/A
    smembers N/A
    smove x
    spop N/A
    srandmember N/A
    srem N/A
    sscan N/A
    sunion x
    sunionstore x
    sorted sets group zadd N/A
    zcard N/A
    zcount N/A
    zincrby N/A
    zinterstore x
    zlexcount N/A
    zrange N/A
    zrangebylex N/A
    zrangebyscore N/A
    zrank N/A
    zrem N/A
    zremrangebylex N/A
    zremrangebyrank N/A
    zremrangebyscore N/A
    zrevrange N/A
    zrevrangebylex N/A
    zrevrangebyscore N/A
    zscore N/A
    zrevrank N/A
    zscan N/A
    zunionstore x
    zpopmax x x x N/A
    zpopmin x x x N/A
    bzpopmax x x x N/A
    bzpopmin x x x N/A
    strings group append N/A
    bitcount N/A
    bitop x
    bitpos N/A
    decr N/A
    decrby N/A
    get N/A
    getbit N/A
    getrange N/A
    getset N/A
    incr N/A
    incrby N/A
    incrbyfloat N/A
    mget
    mset
    msetnx x
    psetex N/A
    setex N/A
    set N/A
    setbit N/A
    setnx N/A
    setrange N/A
    strlen N/A
    bitfield x N/A
    transactions group discard N/A
    exec N/A
    multi N/A
    unwatch N/A
    watch N/A
    hyperloglog group pfadd N/A
    pfcount x
    pfmerge x
    scripting group eval x
    evalsha x
    script debug N/A
    script exists x
    script flush N/A
    script load N/A
    script kill N/A
    geo group geoadd x N/A
    geohash x N/A
    geopos x N/A
    geodist x N/A
    georadius x N/A
    georadiusbymember x N/A
    keys group touch N/A
    restore N/A
    object x x x x x N/A
    unlink x x
    wait x x x x x N/A
    migrate x x x x x N/A
    dump N/A
    server group bgrewriteaof x x x x x N/A
    bgsave x x x x x N/A
    client kill x x x x x N/A
    sync x x x x x N/A
    psync x x x x x N/A
    client list N/A
    client getname x x x x x N/A
    client pause x x x x x N/A
    client reply x x x x x N/A
    client setname x x x x x N/A
    command count x x x x x N/A
    command getkeys x x x x x N/A
    command info x x x x x N/A
    slaveof x x x x x N/A
    config rewrite x x x x x N/A
    config set x x x x x N/A
    config resetstat x x x x x N/A
    debug object x x x x x N/A
    debug segfault x x x x x N/A
    role x x x x x N/A
    save x x x x x N/A
    lastsave x x x x x N/A
    shutdown x x x x x N/A
    MEMORY x Custom Custom N/A
    command N/A
    dbsize N/A
    info Custom Custom N/A
    time N/A
    client list N/A
    config get N/A
    monitor Custom Custom N/A
    flushdb Custom Custom N/A
    flushall N/A
    slowlog Custom Custom N/A
    cluster keyslot x x x N/A
    cluster nodes x x x N/A
    cluster getkeysinslot x x x N/A
    cluster (others) x x x x x N/A
    module x x x x x N/A
    lolwut x x x N/A
    Stream group xinfo x x x N/A
    xadd x x x N/A
    xtrim x x x N/A
    xdel x x x N/A
    xrange x x x N/A
    xrevrange x x x N/A
    xlen x x x N/A
    xread x x x x
    xgroup x x x N/A
    xreadgroup x x x x
    xack x x x N/A
    xlclaim x x x N/A
    xpending x x x N/A