Redis Commands

VMware Tanzu GemFire for Redis Apps is compatible with the following Redis commands:

Compatible Commands
APPEND HMSET PUBLISH SUBSCRIBE
AUTH HRANDFIELD PUBSUB CHANNELS SUNION
BLMOVE HSCAN [2] PUBSUB NUMPAT SUNIONSTORE
BLPOP HSET PUBSUB NUMSUB TTL
BRPOP HSETNX PUNSUBSCRIBE TYPE
BRPOPLPUSH HSTRLEN QUIT UNLINK
BZPOPMAX HVALS RENAME UNSUBSCRIBE
BZPOPMIN INCR RENAMENX ZADD
CLIENT GETNAME INCRBY RPOP ZCARD
CLIENT SETNAME INCRBYFLOAT RPOPLPUSH ZCOUNT
CLUSTER INFO INFO [3] RPUSH ZDIFF
CLUSTER KEYSLOT KEYS RPUSHX ZDIFFSTORE
CLUSTER NODES LINDEX SADD ZINCRBY
CLUSTER SLOTS LINSERT SCARD ZINTER
COMMAND [1] LLEN SDIFF ZINTERSTORE
DECR LMOVE SDIFFSTORE ZLEXCOUNT
DECRBY LOLWUT SET ZPOPMAX
DEL LPOP SETEX ZPOPMIN
ECHO LPOS SETNX ZRANDMEMBER
EXISTS LPUSH SETRANGE ZRANGE
EXPIRE LPUSHX SINTER ZRANGEBYLEX
EXPIREAT LRANGE SINTERSTORE ZRANGEBYSCORE
GET LREM SISMEMBER ZRANK
GETEX LSET SLOWLOG GET ZREM
GETRANGE LTRIM SLOWLOG LEN ZREMRANGEBYLEX
GETSET MGET SLOWLOG RESET ZREMRANGEBYRANK
HDEL MSET SMEMBERS ZREMRANGEBYSCORE
HEXISTS MSETNX SMISMEMBER ZREVRANGE
HGET PERSIST SMOVE ZREVRANGEBYLEX
HGETALL PEXPIRE SORT ZREVRANGEBYSCORE
HINCRBY PEXPIREAT SPOP ZREVRANK
HINCRBYFLOAT PING SRANDMEMBER ZSCAN [2]
HKEYS PSETEX SREM ZSCORE
HLEN PSUBSCRIBE SSCAN [2] ZUNION
HMGET PTTL STRLEN ZUNIONSTORE

Commands not listed above are not implemented.

NOTES:

[1] COMMAND is implemented only with no subcommands.

[2] HSCAN, SSCAN, ZSCAN. Native Redis supports a range of values of +/- the capacity of unsigned 64-bit integers (+/- 1.8446744e+19) for the CURSOR, but 64-bit signed integers for COUNT.

VMware Tanzu GemFire for Redis matches native Redis’s behavior for COUNT, but only supports values of +/- the capacity of a signed 64-bit integer (+/- 9223372036854775807) for CURSOR.

[3] INFO is implemented for the sections and fields listed below:

INFO section Field(s)
clients connected_clients
blocked_clients (always returns 0)
cluster cluster_enabled (always returns 1)
keyspace db0:keys
expires (always returns 0)
avg_ttl (always returns 0)
memory maxmemory
used_memory
mem_fragmentation_ratio
persistence loading (always returns 0)
rdb_changes_since_last_save (always returns 0)
rdb_last_save_time (always returns 0)
replication role (always returns “master”)
connected_slaves (always returns 0)
server redis_version
redis_mode (always returns “cluster” because VMware Tanzu GemFire for Redis always runs in cluster mode.)
tcp_port
uptime_in_seconds
uptime_in_days
stats total_commands_processed
instantaneous_ops_per_sec
total_net_input_bytes
instantaneous_input_kbps
total_connections_received
keyspace_hits
keyspace_misses
evicted_keys (always returns 0)
rejected_connections (always returns 0)
pubsub_channels
pubsub_patterns
check-circle-line exclamation-circle-line close-line
Scroll to top icon