redis / latest

Redis

ACL CAT

Lists the ACL categories, or the commands inside a category.

Read more

ACL DELUSER

Deletes ACL users, and terminates their connections.

Read more

ACL DRYRUN

Simulates the execution of a command by a user, without executing the command.

Read more

ACL GENPASS

Generates a pseudorandom, secure password that can be used to identify ACL users.

Read more

ACL GETUSER

Lists the ACL rules of a user.

Read more

ACL LIST

Dumps the effective rules in ACL file format.

Read more

ACL LOAD

Reloads the rules from the configured ACL file.

Read more

ACL LOG

Lists recent security events generated due to ACL rules.

Read more

ACL SAVE

Saves the effective ACL rules in the configured ACL file.

Read more

ACL SETUSER

Creates and modifies an ACL user and its rules.

Read more

ACL USERS

Lists all ACL users.

Read more

ACL WHOAMI

Returns the authenticated username of the current connection.

Read more

APPEND

Appends a string to the value of a key. Creates the key if it doesn't exist.

Read more

ASKING

Signals that a cluster client is following an -ASK redirect.

Read more

AUTH

Authenticates the connection.

Read more

BF.ADD

Adds an item to a Bloom Filter

Read more

BF.CARD

Returns the cardinality of a Bloom filter

Read more

BF.EXISTS

Checks whether an item exists in a Bloom Filter

Read more

BF.INFO

Returns information about a Bloom Filter

Read more

BF.INSERT

Adds one or more items to a Bloom Filter. A filter will be created if it does not exist

Read more

BF.LOADCHUNK

Restores a filter previously saved using SCANDUMP

Read more

BF.MADD

Adds one or more items to a Bloom Filter. A filter will be created if it does not exist

Read more

BF.MEXISTS

Checks whether one or more items exist in a Bloom Filter

Read more

BF.RESERVE

Creates a new Bloom Filter

Read more

BF.SCANDUMP

Begins an incremental save of the bloom filter

Read more

BGREWRITEAOF

Asynchronously rewrites the append-only file to disk.

Read more

BGSAVE

Asynchronously saves the database(s) to disk.

Read more

BITCOUNT

Counts the number of set bits (population counting) in a string.

Read more

BITFIELD

Performs arbitrary bitfield integer operations on strings.

Read more

BITFIELD_RO

Performs arbitrary read-only bitfield integer operations on strings.

Read more

BITOP

Performs bitwise operations on multiple strings, and stores the result.

Read more

BITPOS

Finds the first set (1) or clear (0) bit in a string.

Read more

BLMOVE

Pops an element from a list, pushes it to another list and returns it. Blocks until an element is available otherwise. Deletes the list if the last element was moved.

Read more

BLMPOP

Pops the first element from one of multiple lists. Blocks until an element is available otherwise. Deletes the list if the last element was popped.

Read more

BLPOP

Removes and returns the first element in a list. Blocks until an element is available otherwise. Deletes the list if the last element was popped.

Read more

BRPOP

Removes and returns the last element in a list. Blocks until an element is available otherwise. Deletes the list if the last element was popped.

Read more

BRPOPLPUSH

Pops an element from a list, pushes it to another list and returns it. Block until an element is available otherwise. Deletes the list if the last element was popped.

Read more

BZMPOP

Removes and returns a member by score from one or more sorted sets. Blocks until a member is available otherwise. Deletes the sorted set if the last element was popped.

Read more

BZPOPMAX

Removes and returns the member with the highest score from one or more sorted sets. Blocks until a member available otherwise. Deletes the sorted set if the last element was popped.

Read more

BZPOPMIN

Removes and returns the member with the lowest score from one or more sorted sets. Blocks until a member is available otherwise. Deletes the sorted set if the last element was popped.

Read more

CF.ADD

Adds an item to a Cuckoo Filter

Read more

CF.ADDNX

Adds an item to a Cuckoo Filter if the item did not exist previously.

Read more

CF.COUNT

Return the number of times an item might be in a Cuckoo Filter

Read more

CF.DEL

Deletes an item from a Cuckoo Filter

Read more

CF.EXISTS

Checks whether one or more items exist in a Cuckoo Filter

Read more

CF.INFO

Returns information about a Cuckoo Filter

Read more

CF.INSERT

Adds one or more items to a Cuckoo Filter. A filter will be created if it does not exist

Read more

CF.INSERTNX

Adds one or more items to a Cuckoo Filter if the items did not exist previously. A filter will be created if it does not exist

Read more

CF.LOADCHUNK

Restores a filter previously saved using SCANDUMP

Read more

CF.MEXISTS

Checks whether one or more items exist in a Cuckoo Filter

Read more

CF.RESERVE

Creates a new Cuckoo Filter

Read more

CF.SCANDUMP

Begins an incremental save of the bloom filter

Read more

CLIENT CACHING

Instructs the server whether to track the keys in the next request.

Read more

CLIENT GETNAME

Returns the name of the connection.

Read more

CLIENT GETREDIR

Returns the client ID to which the connection's tracking notifications are redirected.

Read more

CLIENT ID

Returns the unique client ID of the connection.

Read more

CLIENT INFO

Returns information about the connection.

Read more

CLIENT KILL

Terminates open connections.

Read more

CLIENT LIST

Lists open connections.

Read more

CLIENT NO-EVICT

Sets the client eviction mode of the connection.

Read more

CLIENT NO-TOUCH

Controls whether commands sent by the client affect the LRU/LFU of accessed keys.

Read more

CLIENT PAUSE

Suspends commands processing.

Read more

CLIENT REPLY

Instructs the server whether to reply to commands.

Read more

CLIENT SETINFO

Sets information specific to the client or connection.

Read more

CLIENT SETNAME

Sets the connection name.

Read more

CLIENT TRACKING

Controls server-assisted client-side caching for the connection.

Read more

CLIENT TRACKINGINFO

Returns information about server-assisted client-side caching for the connection.

Read more

CLIENT UNBLOCK

Unblocks a client blocked by a blocking command from a different connection.

Read more

CLIENT UNPAUSE

Resumes processing commands from paused clients.

Read more

CLUSTER ADDSLOTS

Assigns new hash slots to a node.

Read more

CLUSTER ADDSLOTSRANGE

Assigns new hash slot ranges to a node.

Read more

CLUSTER BUMPEPOCH

Advances the cluster config epoch.

Read more

CLUSTER COUNT-FAILURE-REPORTS

Returns the number of active failure reports active for a node.

Read more

CLUSTER COUNTKEYSINSLOT

Returns the number of keys in a hash slot.

Read more

CLUSTER DELSLOTS

Sets hash slots as unbound for a node.

Read more

CLUSTER DELSLOTSRANGE

Sets hash slot ranges as unbound for a node.

Read more

CLUSTER FAILOVER

Forces a replica to perform a manual failover of its master.

Read more

CLUSTER FLUSHSLOTS

Deletes all slots information from a node.

Read more

CLUSTER FORGET

Removes a node from the nodes table.

Read more

CLUSTER GETKEYSINSLOT

Returns the key names in a hash slot.

Read more

CLUSTER INFO

Returns information about the state of a node.

Read more

CLUSTER KEYSLOT

Returns the hash slot for a key.

Read more

CLUSTER LINKS

Returns a list of all TCP links to and from peer nodes.

Read more

CLUSTER MEET

Forces a node to handshake with another node.

Read more

CLUSTER MYID

Returns the ID of a node.

Read more

CLUSTER MYSHARDID

Returns the shard ID of a node.

Read more

CLUSTER NODES

Returns the cluster configuration for a node.

Read more

CLUSTER REPLICAS

Lists the replica nodes of a master node.

Read more

CLUSTER REPLICATE

Configure a node as replica of a master node.

Read more

CLUSTER RESET

Resets a node.

Read more

CLUSTER SAVECONFIG

Forces a node to save the cluster configuration to disk.

Read more

CLUSTER SET-CONFIG-EPOCH

Sets the configuration epoch for a new node.

Read more

CLUSTER SETSLOT

Binds a hash slot to a node.

Read more

CLUSTER SHARDS

Returns the mapping of cluster slots to shards.

Read more

CLUSTER SLAVES

Lists the replica nodes of a master node.

Read more

CLUSTER SLOTS

Returns the mapping of cluster slots to nodes.

Read more

CMS.INCRBY

Increases the count of one or more items by increment

Read more

CMS.INFO

Returns information about a sketch

Read more

CMS.INITBYDIM

Initializes a Count-Min Sketch to dimensions specified by user

Read more

CMS.INITBYPROB

Initializes a Count-Min Sketch to accommodate requested tolerances.

Read more

CMS.MERGE

Merges several sketches into one sketch

Read more

CMS.QUERY

Returns the count for one or more items in a sketch

Read more

COMMAND

Returns detailed information about all commands.

Read more

COMMAND COUNT

Returns a count of commands.

Read more

COMMAND DOCS

Returns documentary information about a command.

Read more

COMMAND GETKEYS

Extracts the key names from an arbitrary command.

Read more

COMMAND GETKEYSANDFLAGS

Extracts the key names and access flags for an arbitrary command.

Read more

COMMAND INFO

Returns information about one, multiple or all commands.

Read more

COMMAND LIST

Returns a list of command names.

Read more

CONFIG GET

Returns the effective values of configuration parameters.

Read more

CONFIG RESETSTAT

Resets the server's statistics.

Read more

CONFIG REWRITE

Persists the effective configuration to file.

Read more

CONFIG SET

Sets configuration parameters in-flight.

Read more

COPY

Copies the value of a key to a new key.

Read more

DBSIZE

Returns the number of keys in the database.

Read more

DECR

Decrements the integer value of a key by one. Uses 0 as initial value if the key doesn't exist.

Read more

DECRBY

Decrements a number from the integer value of a key. Uses 0 as initial value if the key doesn't exist.

Read more

DEL

Deletes one or more keys.

Read more

DISCARD

Discards a transaction.

Read more

DUMP

Returns a serialized representation of the value stored at a key.

Read more

ECHO

Returns the given string.

Read more

EVAL

Executes a server-side Lua script.

Read more

EVAL_RO

Executes a read-only server-side Lua script.

Read more

EVALSHA

Executes a server-side Lua script by SHA1 digest.

Read more

EVALSHA_RO

Executes a read-only server-side Lua script by SHA1 digest.

Read more

EXEC

Executes all commands in a transaction.

Read more

EXISTS

Determines whether one or more keys exist.

Read more

EXPIRE

Sets the expiration time of a key in seconds.

Read more

EXPIREAT

Sets the expiration time of a key to a Unix timestamp.

Read more

EXPIRETIME

Returns the expiration time of a key as a Unix timestamp.

Read more

FAILOVER

Starts a coordinated failover from a server to one of its replicas.

Read more

FCALL

Invokes a function.

Read more

FCALL_RO

Invokes a read-only function.

Read more

FLUSHALL

Removes all keys from all databases.

Read more

FLUSHDB

Remove all keys from the current database.

Read more

FT._LIST

Returns a list of all existing indexes

Read more

FT.AGGREGATE

Run a search query on an index and perform aggregate transformations on the results

Read more

FT.ALIASADD

Adds an alias to the index

Read more

FT.ALIASDEL

Deletes an alias from the index

Read more

FT.ALIASUPDATE

Adds or updates an alias to the index

Read more

FT.ALTER

Adds a new field to the index

Read more

FT.CONFIG GET

Retrieves runtime configuration options

Read more

FT.CONFIG SET

Sets runtime configuration options

Read more

FT.CREATE

Creates an index with the given spec

Read more

FT.CURSOR DEL

Deletes a cursor

Read more

FT.CURSOR READ

Reads from a cursor

Read more

FT.DICTADD

Adds terms to a dictionary

Read more

FT.DICTDEL

Deletes terms from a dictionary

Read more

FT.DICTDUMP

Dumps all terms in the given dictionary

Read more

FT.DROPINDEX

Deletes the index

Read more

FT.EXPLAIN

Returns the execution plan for a complex query

Read more

FT.EXPLAINCLI

Returns the execution plan for a complex query

Read more

FT.INFO

Returns information and statistics on the index

Read more

FT.PROFILE

Performs a `FT.SEARCH` or `FT.AGGREGATE` command and collects performance information

Read more

FT.SEARCH

Searches the index with a textual query, returning either documents or just ids

Read more

FT.SPELLCHECK

Performs spelling correction on a query, returning suggestions for misspelled terms

Read more

FT.SUGADD

Adds a suggestion string to an auto-complete suggestion dictionary

Read more

FT.SUGDEL

Deletes a string from a suggestion index

Read more

FT.SUGGET

Gets completion suggestions for a prefix

Read more

FT.SUGLEN

Gets the size of an auto-complete suggestion dictionary

Read more

FT.SYNDUMP

Dumps the contents of a synonym group

Read more

FT.SYNUPDATE

Creates or updates a synonym group with additional terms

Read more

FT.TAGVALS

Returns the distinct tags indexed in a Tag field

Read more

FUNCTION DELETE

Deletes a library and its functions.

Read more

FUNCTION DUMP

Dumps all libraries into a serialized binary payload.

Read more

FUNCTION FLUSH

Deletes all libraries and functions.

Read more

FUNCTION KILL

Terminates a function during execution.

Read more

FUNCTION LIST

Returns information about all libraries.

Read more

FUNCTION LOAD

Creates a library.

Read more

FUNCTION RESTORE

Restores all libraries from a payload.

Read more

FUNCTION STATS

Returns information about a function during execution.

Read more

GEOADD

Adds one or more members to a geospatial index. The key is created if it doesn't exist.

Read more

GEODIST

Returns the distance between two members of a geospatial index.

Read more

GEOHASH

Returns members from a geospatial index as geohash strings.

Read more

GEOPOS

Returns the longitude and latitude of members from a geospatial index.

Read more

GEORADIUS

Queries a geospatial index for members within a distance from a coordinate, optionally stores the result.

Read more

GEORADIUS_RO

Returns members from a geospatial index that are within a distance from a coordinate.

Read more

GEORADIUSBYMEMBER

Queries a geospatial index for members within a distance from a member, optionally stores the result.

Read more

GEORADIUSBYMEMBER_RO

Returns members from a geospatial index that are within a distance from a member.

Read more

GEOSEARCH

Queries a geospatial index for members inside an area of a box or a circle.

Read more

GEOSEARCHSTORE

Queries a geospatial index for members inside an area of a box or a circle, optionally stores the result.

Read more

GET

Returns the string value of a key.

Read more

GETBIT

Returns a bit value by offset.

Read more

GETDEL

Returns the string value of a key after deleting the key.

Read more

GETEX

Returns the string value of a key after setting its expiration time.

Read more

GETRANGE

Returns a substring of the string stored at a key.

Read more

GETSET

Returns the previous string value of a key after setting it to a new value.

Read more

GRAPH.CONFIG GET

Retrieves a RedisGraph configuration

Read more

GRAPH.CONFIG SET

Updates a RedisGraph configuration

Read more

GRAPH.CONSTRAINT CREATE

Creates a constraint on specified graph

Read more

GRAPH.CONSTRAINT DROP

Deletes a constraint from specified graph

Read more

GRAPH.DELETE

Completely removes the graph and all of its entities

Read more

GRAPH.EXPLAIN

Returns a query execution plan without running the query

Read more

GRAPH.LIST

Lists all graph keys in the keyspace

Read more

GRAPH.PROFILE

Executes a query and returns an execution plan augmented with metrics for each operation's execution

Read more

GRAPH.QUERY

Executes the given query against a specified graph

Read more

GRAPH.RO_QUERY

Executes a given read only query against a specified graph

Read more

GRAPH.SLOWLOG

Returns a list containing up to 10 of the slowest queries issued against the given graph

Read more

HDEL

Deletes one or more fields and their values from a hash. Deletes the hash if no fields remain.

Read more

HELLO

Handshakes with the Redis server.

Read more

HEXISTS

Determines whether a field exists in a hash.

Read more

HGET

Returns the value of a field in a hash.

Read more

HGETALL

Returns all fields and values in a hash.

Read more

HINCRBY

Increments the integer value of a field in a hash by a number. Uses 0 as initial value if the field doesn't exist.

Read more

HINCRBYFLOAT

Increments the floating point value of a field by a number. Uses 0 as initial value if the field doesn't exist.

Read more

HKEYS

Returns all fields in a hash.

Read more

HLEN

Returns the number of fields in a hash.

Read more

HMGET

Returns the values of all fields in a hash.

Read more

HMSET

Sets the values of multiple fields.

Read more

HRANDFIELD

Returns one or more random fields from a hash.

Read more

HSCAN

Iterates over fields and values of a hash.

Read more

HSET

Creates or modifies the value of a field in a hash.

Read more

HSETNX

Sets the value of a field in a hash only when the field doesn't exist.

Read more

HSTRLEN

Returns the length of the value of a field.

Read more

HVALS

Returns all values in a hash.

Read more

INCR

Increments the integer value of a key by one. Uses 0 as initial value if the key doesn't exist.

Read more

INCRBY

Increments the integer value of a key by a number. Uses 0 as initial value if the key doesn't exist.

Read more

INCRBYFLOAT

Increment the floating point value of a key by a number. Uses 0 as initial value if the key doesn't exist.

Read more

INFO

Returns information and statistics about the server.

Read more

JSON.ARRAPPEND

Append one or more json values into the array at path after the last element in it.

Read more

JSON.ARRINDEX

Returns the index of the first occurrence of a JSON scalar value in the array at path

Read more

JSON.ARRINSERT

Inserts the JSON scalar(s) value at the specified index in the array at path

Read more

JSON.ARRLEN

Returns the length of the array at path

Read more

JSON.ARRPOP

Removes and returns the element at the specified index in the array at path

Read more

JSON.ARRTRIM

Trims the array at path to contain only the specified inclusive range of indices from start to stop

Read more

JSON.CLEAR

Clears all values from an array or an object and sets numeric values to `0`

Read more

JSON.DEBUG

Debugging container command

Read more

JSON.DEBUG MEMORY

Reports the size in bytes of a key

Read more

JSON.DEL

Deletes a value

Read more

JSON.FORGET

Deletes a value

Read more

JSON.GET

Gets the value at one or more paths in JSON serialized form

Read more

JSON.MGET

Returns the values at a path from one or more keys

Read more

JSON.NUMINCRBY

Increments the numeric value at path by a value

Read more

JSON.NUMMULTBY

Multiplies the numeric value at path by a value

Read more

JSON.OBJKEYS

Returns the JSON keys of the object at path

Read more

JSON.OBJLEN

Returns the number of keys of the object at path

Read more

JSON.RESP

Returns the JSON value at path in Redis Serialization Protocol (RESP)

Read more

JSON.SET

Sets or updates the JSON value at a path

Read more

JSON.STRAPPEND

Appends a string to a JSON string value at path

Read more

JSON.STRLEN

Returns the length of the JSON String at path in key

Read more

JSON.TOGGLE

Toggles a boolean value

Read more

JSON.TYPE

Returns the type of the JSON value at path

Read more

KEYS

Returns all key names that match a pattern.

Read more

LASTSAVE

Returns the Unix timestamp of the last successful save to disk.

Read more

LATENCY DOCTOR

Returns a human-readable latency analysis report.

Read more

LATENCY GRAPH

Returns a latency graph for an event.

Read more

LATENCY HISTOGRAM

Returns the cumulative distribution of latencies of a subset or all commands.

Read more

LATENCY HISTORY

Returns timestamp-latency samples for an event.

Read more

LATENCY LATEST

Returns the latest latency samples for all events.

Read more

LATENCY RESET

Resets the latency data for one or more events.

Read more

LCS

Finds the longest common substring.

Read more

LINDEX

Returns an element from a list by its index.

Read more

LINSERT

Inserts an element before or after another element in a list.

Read more

LLEN

Returns the length of a list.

Read more

LMOVE

Returns an element after popping it from one list and pushing it to another. Deletes the list if the last element was moved.

Read more

LMPOP

Returns multiple elements from a list after removing them. Deletes the list if the last element was popped.

Read more

LOLWUT

Displays computer art and the Redis version

Read more

LPOP

Returns the first elements in a list after removing it. Deletes the list if the last element was popped.

Read more

LPOS

Returns the index of matching elements in a list.

Read more

LPUSH

Prepends one or more elements to a list. Creates the key if it doesn't exist.

Read more

LPUSHX

Prepends one or more elements to a list only when the list exists.

Read more

LRANGE

Returns a range of elements from a list.

Read more

LREM

Removes elements from a list. Deletes the list if the last element was removed.

Read more

LSET

Sets the value of an element in a list by its index.

Read more

LTRIM

Removes elements from both ends a list. Deletes the list if all elements were trimmed.

Read more

MEMORY DOCTOR

Outputs a memory problems report.

Read more

MEMORY MALLOC-STATS

Returns the allocator statistics.

Read more

MEMORY PURGE

Asks the allocator to release memory.

Read more

MEMORY STATS

Returns details about memory usage.

Read more

MEMORY USAGE

Estimates the memory usage of a key.

Read more

MGET

Atomically returns the string values of one or more keys.

Read more

MIGRATE

Atomically transfers a key from one Redis instance to another.

Read more

MODULE LIST

Returns all loaded modules.

Read more

MODULE LOAD

Loads a module.

Read more

MODULE LOADEX

Loads a module using extended parameters.

Read more

MODULE UNLOAD

Unloads a module.

Read more

MONITOR

Listens for all requests received by the server in real-time.

Read more

MOVE

Moves a key to another database.

Read more

MSET

Atomically creates or modifies the string values of one or more keys.

Read more

MSETNX

Atomically modifies the string values of one or more keys only when all keys don't exist.

Read more

MULTI

Starts a transaction.

Read more

OBJECT ENCODING

Returns the internal encoding of a Redis object.

Read more

OBJECT FREQ

Returns the logarithmic access frequency counter of a Redis object.

Read more

OBJECT IDLETIME

Returns the time since the last access to a Redis object.

Read more

OBJECT REFCOUNT

Returns the reference count of a value of a key.

Read more

PERSIST

Removes the expiration time of a key.

Read more

PEXPIRE

Sets the expiration time of a key in milliseconds.

Read more

PEXPIREAT

Sets the expiration time of a key to a Unix milliseconds timestamp.

Read more

PEXPIRETIME

Returns the expiration time of a key as a Unix milliseconds timestamp.

Read more

PFADD

Adds elements to a HyperLogLog key. Creates the key if it doesn't exist.

Read more

PFCOUNT

Returns the approximated cardinality of the set(s) observed by the HyperLogLog key(s).

Read more

PFDEBUG

Internal commands for debugging HyperLogLog values.

Read more

PFMERGE

Merges one or more HyperLogLog values into a single key.

Read more

PFSELFTEST

An internal command for testing HyperLogLog values.

Read more

PING

Returns the server's liveliness response.

Read more

PSETEX

Sets both string value and expiration time in milliseconds of a key. The key is created if it doesn't exist.

Read more

PSUBSCRIBE

Listens for messages published to channels that match one or more patterns.

Read more

PSYNC

An internal command used in replication.

Read more

PTTL

Returns the expiration time in milliseconds of a key.

Read more

PUBLISH

Posts a message to a channel.

Read more

PUBSUB CHANNELS

Returns the active channels.

Read more

PUBSUB NUMPAT

Returns a count of unique pattern subscriptions.

Read more

PUBSUB NUMSUB

Returns a count of subscribers to channels.

Read more

PUBSUB SHARDCHANNELS

Returns the active shard channels.

Read more

PUBSUB SHARDNUMSUB

Returns the count of subscribers of shard channels.

Read more

PUNSUBSCRIBE

Stops listening to messages published to channels that match one or more patterns.

Read more

QUIT

Closes the connection.

Read more

RANDOMKEY

Returns a random key name from the database.

Read more

READONLY

Enables read-only queries for a connection to a Redis Cluster replica node.

Read more

READWRITE

Enables read-write queries for a connection to a Reids Cluster replica node.

Read more

RENAME

Renames a key and overwrites the destination.

Read more

RENAMENX

Renames a key only when the target key name doesn't exist.

Read more

REPLCONF

An internal command for configuring the replication stream.

Read more

REPLICAOF

Configures a server as replica of another, or promotes it to a master.

Read more

RESET

Resets the connection.

Read more

RESTORE

Creates a key from the serialized representation of a value.

Read more

RESTORE-ASKING

An internal command for migrating keys in a cluster.

Read more

ROLE

Returns the replication role.

Read more

RPOP

Returns and removes the last elements of a list. Deletes the list if the lst element was popped.

Read more

RPOPLPUSH

Returns the last element of a list after removing and pushing it to another list. Deletes the list if the lst element was popped.

Read more

RPUSH

Appends one or more elements to a list. Creates the key if it doesn't exist.

Read more

RPUSHX

Appends an element to a list only when the list exists.

Read more

SADD

Adds one or more members to a set. Creates the key if it doesn't exist.

Read more

SAVE

Synchronously saves the database(s) to disk.

Read more

SCAN

Iterates over the key names in the database.

Read more

SCARD

Returns the number of members in a set.

Read more

SCRIPT DEBUG

Sets the debug mode of server-side Lua scripts.

Read more

SCRIPT EXISTS

Determines whether server-side Lua scripts exist in the script cache.

Read more

SCRIPT FLUSH

Removes all server-side Lua scripts from the script cache.

Read more

SCRIPT KILL

Terminates a server-side Lua script during execution.

Read more

SCRIPT LOAD

Loads a server-side Lua script to the script cache.

Read more

SDIFF

Returns the difference of multiple sets.

Read more

SDIFFSTORE

Stores the difference of multiple sets in a key.

Read more

SELECT

Changes the selected database.

Read more

SET

Sets the string value of a key, ignoring its type. The key is created if it doesn't exist.

Read more

SETBIT

Sets or clears the bit at offset of the string value. Creates the key if it doesn't exist.

Read more

SETEX

Sets the string value and expiration time of a key. Creates the key if it doesn't exist.

Read more

SETNX

Set the string value of a key only when the key doesn't exist.

Read more

SETRANGE

Overwrites a part of a string value with another by an offset. Creates the key if it doesn't exist.

Read more

SHUTDOWN

Synchronously saves the database(s) to disk and shuts down the Redis server.

Read more

SINTER

Returns the intersect of multiple sets.

Read more

SINTERCARD

Returns the number of members of the intersect of multiple sets.

Read more

SINTERSTORE

Stores the intersect of multiple sets in a key.

Read more

SISMEMBER

Determines whether a member belongs to a set.

Read more

SLAVEOF

Sets a Redis server as a replica of another, or promotes it to being a master.

Read more

SLOWLOG GET

Returns the slow log's entries.

Read more

SLOWLOG LEN

Returns the number of entries in the slow log.

Read more

SLOWLOG RESET

Clears all entries from the slow log.

Read more

SMEMBERS

Returns all members of a set.

Read more

SMISMEMBER

Determines whether multiple members belong to a set.

Read more

SMOVE

Moves a member from one set to another.

Read more

SORT

Sorts the elements in a list, a set, or a sorted set, optionally storing the result.

Read more

SORT_RO

Returns the sorted elements of a list, a set, or a sorted set.

Read more

SPOP

Returns one or more random members from a set after removing them. Deletes the set if the last member was popped.

Read more

SPUBLISH

Post a message to a shard channel

Read more

SRANDMEMBER

Get one or multiple random members from a set

Read more

SREM

Removes one or more members from a set. Deletes the set if the last member was removed.

Read more

SSCAN

Iterates over members of a set.

Read more

SSUBSCRIBE

Listens for messages published to shard channels.

Read more

STRLEN

Returns the length of a string value.

Read more

SUBSCRIBE

Listens for messages published to channels.

Read more

SUBSTR

Returns a substring from a string value.

Read more

SUNION

Returns the union of multiple sets.

Read more

SUNIONSTORE

Stores the union of multiple sets in a key.

Read more

SUNSUBSCRIBE

Stops listening to messages posted to shard channels.

Read more

SWAPDB

Swaps two Redis databases.

Read more

SYNC

An internal command used in replication.

Read more

TDIGEST.ADD

Adds one or more observations to a t-digest sketch

Read more

TDIGEST.BYRANK

Returns, for each input rank, an estimation of the value (floating-point) with that rank

Read more

TDIGEST.BYREVRANK

Returns, for each input reverse rank, an estimation of the value (floating-point) with that reverse rank

Read more

TDIGEST.CDF

Returns, for each input value, an estimation of the fraction (floating-point) of (observations smaller than the given value + half the observations equal to the given value)

Read more

TDIGEST.CREATE

Allocates memory and initializes a new t-digest sketch

Read more

TDIGEST.INFO

Returns information and statistics about a t-digest sketch

Read more

TDIGEST.MAX

Returns the maximum observation value from a t-digest sketch

Read more

TDIGEST.MERGE

Merges multiple t-digest sketches into a single sketch

Read more

TDIGEST.MIN

Returns the minimum observation value from a t-digest sketch

Read more

TDIGEST.QUANTILE

Returns, for each input fraction, an estimation of the value (floating point) that is smaller than the given fraction of observations

Read more

TDIGEST.RANK

Returns, for each input value (floating-point), the estimated rank of the value (the number of observations in the sketch that are smaller than the value + half the number of observations that are equal to the value)

Read more

TDIGEST.RESET

Resets a t-digest sketch: empty the sketch and re-initializes it.

Read more

TDIGEST.REVRANK

Returns, for each input value (floating-point), the estimated reverse rank of the value (the number of observations in the sketch that are larger than the value + half the number of observations that are equal to the value)

Read more

TDIGEST.TRIMMED_MEAN

Returns an estimation of the mean value from the sketch, excluding observation values outside the low and high cutoff quantiles

Read more

TIME

Returns the server time.

Read more

TOPK.ADD

Increases the count of one or more items by increment

Read more

TOPK.COUNT

Return the count for one or more items are in a sketch

Read more

TOPK.INCRBY

Increases the count of one or more items by increment

Read more

TOPK.INFO

Returns information about a sketch

Read more

TOPK.LIST

Return full list of items in Top K list

Read more

TOPK.QUERY

Checks whether one or more items are in a sketch

Read more

TOPK.RESERVE

Initializes a TopK with specified parameters

Read more

TOUCH

Returns the number of existing keys out of those specified after updating the time they were last accessed.

Read more

TS.ADD

Append a sample to a time series

Read more

TS.ALTER

Update the retention, chunk size, duplicate policy, and labels of an existing time series

Read more

TS.CREATE

Create a new time series

Read more

TS.CREATERULE

Create a compaction rule

Read more

TS.DECRBY

Decrease the value of the sample with the maximal existing timestamp, or create a new sample with a value equal to the value of the sample with the maximal existing timestamp with a given decrement

Read more

TS.DEL

Delete all samples between two timestamps for a given time series

Read more

TS.DELETERULE

Delete a compaction rule

Read more

TS.GET

Get the sample with the highest timestamp from a given time series

Read more

TS.INCRBY

Increase the value of the sample with the maximal existing timestamp, or create a new sample with a value equal to the value of the sample with the maximal existing timestamp with a given increment

Read more

TS.INFO

Returns information and statistics for a time series

Read more

TS.MADD

Append new samples to one or more time series

Read more

TS.MGET

Get the sample with the highest timestamp from each time series matching a specific filter

Read more

TS.MRANGE

Query a range across multiple time series by filters in forward direction

Read more

TS.MREVRANGE

Query a range across multiple time-series by filters in reverse direction

Read more

TS.QUERYINDEX

Get all time series keys matching a filter list

Read more

TS.RANGE

Query a range in forward direction

Read more

TS.REVRANGE

Query a range in reverse direction

Read more

TTL

Returns the expiration time in seconds of a key.

Read more

TYPE

Determines the type of value stored at a key.

Read more

UNLINK

Asynchronously deletes one or more keys.

Read more

UNSUBSCRIBE

Stops listening to messages posted to channels.

Read more

UNWATCH

Forgets about watched keys of a transaction.

Read more

WAIT

Blocks until the asynchronous replication of all preceding write commands sent by the connection is completed.

Read more

WAITAOF

Blocks until all of the preceding write commands sent by the connection are written to the append-only file of the master and/or replicas.

Read more

WATCH

Monitors changes to keys to determine the execution of a transaction.

Read more

XACK

Returns the number of messages that were successfully acknowledged by the consumer group member of a stream.

Read more

XADD

Appends a new message to a stream. Creates the key if it doesn't exist.

Read more

XAUTOCLAIM

Changes, or acquires, ownership of messages in a consumer group, as if the messages were delivered to as consumer group member.

Read more

XCLAIM

Changes, or acquires, ownership of a message in a consumer group, as if the message was delivered a consumer group member.

Read more

XDEL

Returns the number of messages after removing them from a stream.

Read more

XGROUP CREATE

Creates a consumer group.

Read more

XGROUP CREATECONSUMER

Creates a consumer in a consumer group.

Read more

XGROUP DELCONSUMER

Deletes a consumer from a consumer group.

Read more

XGROUP DESTROY

Destroys a consumer group.

Read more

XGROUP SETID

Sets the last-delivered ID of a consumer group.

Read more

XINFO CONSUMERS

Returns a list of the consumers in a consumer group.

Read more

XINFO GROUPS

Returns a list of the consumer groups of a stream.

Read more

XINFO STREAM

Returns information about a stream.

Read more

XLEN

Return the number of messages in a stream.

Read more

XPENDING

Returns the information and entries from a stream consumer group's pending entries list.

Read more

XRANGE

Returns the messages from a stream within a range of IDs.

Read more

XREAD

Returns messages from multiple streams with IDs greater than the ones requested. Blocks until a message is available otherwise.

Read more

XREADGROUP

Returns new or historical messages from a stream for a consumer in agroup. Blocks until a message is available otherwise.

Read more

XREVRANGE

Returns the messages from a stream within a range of IDs in reverse order.

Read more

XSETID

An internal command for replicating stream values.

Read more

XTRIM

Deletes messages from the beginning of a stream.

Read more

ZADD

Adds one or more members to a sorted set, or updates their scores. Creates the key if it doesn't exist.

Read more

ZCARD

Returns the number of members in a sorted set.

Read more

ZCOUNT

Returns the count of members in a sorted set that have scores within a range.

Read more

ZDIFF

Returns the difference between multiple sorted sets.

Read more

ZDIFFSTORE

Stores the difference of multiple sorted sets in a key.

Read more

ZINCRBY

Increments the score of a member in a sorted set.

Read more

ZINTER

Returns the intersect of multiple sorted sets.

Read more

ZINTERCARD

Returns the number of members of the intersect of multiple sorted sets.

Read more

ZINTERSTORE

Stores the intersect of multiple sorted sets in a key.

Read more

ZLEXCOUNT

Returns the number of members in a sorted set within a lexicographical range.

Read more

ZMPOP

Returns the highest- or lowest-scoring members from one or more sorted sets after removing them. Deletes the sorted set if the last member was popped.

Read more

ZMSCORE

Returns the score of one or more members in a sorted set.

Read more

ZPOPMAX

Returns the highest-scoring members from a sorted set after removing them. Deletes the sorted set if the last member was popped.

Read more

ZPOPMIN

Returns the lowest-scoring members from a sorted set after removing them. Deletes the sorted set if the last member was popped.

Read more

ZRANDMEMBER

Returns one or more random members from a sorted set.

Read more

ZRANGE

Returns members in a sorted set within a range of indexes.

Read more

ZRANGEBYLEX

Returns members in a sorted set within a lexicographical range.

Read more

ZRANGEBYSCORE

Returns members in a sorted set within a range of scores.

Read more

ZRANGESTORE

Stores a range of members from sorted set in a key.

Read more

ZRANK

Returns the index of a member in a sorted set ordered by ascending scores.

Read more

ZREM

Removes one or more members from a sorted set. Deletes the sorted set if all members were removed.

Read more

ZREMRANGEBYLEX

Removes members in a sorted set within a lexicographical range. Deletes the sorted set if all members were removed.

Read more

ZREMRANGEBYRANK

Removes members in a sorted set within a range of indexes. Deletes the sorted set if all members were removed.

Read more

ZREMRANGEBYSCORE

Removes members in a sorted set within a range of scores. Deletes the sorted set if all members were removed.

Read more

ZREVRANGE

Returns members in a sorted set within a range of indexes in reverse order.

Read more

ZREVRANGEBYLEX

Returns members in a sorted set within a lexicographical range in reverse order.

Read more

ZREVRANGEBYSCORE

Returns members in a sorted set within a range of scores in reverse order.

Read more

ZREVRANK

Returns the index of a member in a sorted set ordered by descending scores.

Read more

ZSCAN

Iterates over members and scores of a sorted set.

Read more

ZSCORE

Returns the score of a member in a sorted set.

Read more

ZUNION

Returns the union of multiple sorted sets.

Read more

ZUNIONSTORE

Stores the union of multiple sorted sets in a key.

Read more

© 2006–2022 Salvatore Sanfilippo
Licensed under the Creative Commons Attribution-ShareAlike License 4.0.
https://redis.io/commands