Redis Commands

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

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

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