Commands

ACL CAT

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

Learn more →
Read more

ACL DELUSER

Deletes ACL users, and terminates their connections.

Learn more →
Read more

ACL DRYRUN

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

Learn more →
Read more

ACL GENPASS

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

Learn more →
Read more

ACL GETUSER

Lists the ACL rules of a user.

Learn more →
Read more

ACL LIST

Dumps the effective rules in ACL file format.

Learn more →
Read more

ACL LOAD

Reloads the rules from the configured ACL file.

Learn more →
Read more

ACL LOG

Lists recent security events generated due to ACL rules.

Learn more →
Read more

ACL SAVE

Saves the effective ACL rules in the configured ACL file.

Learn more →
Read more

ACL SETUSER

Creates and modifies an ACL user and its rules.

Learn more →
Read more

ACL USERS

Lists all ACL users.

Learn more →
Read more

ACL WHOAMI

Returns the authenticated username of the current connection.

Learn more →
Read more

APPEND

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

Learn more →
Read more

ASKING

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

Learn more →
Read more

AUTH

Authenticates the connection.

Learn more →
Read more

BF.ADD

Adds an item to a Bloom Filter

Learn more →
Read more

BF.CARD

Returns the cardinality of a Bloom filter

Learn more →
Read more

BF.EXISTS

Checks whether an item exists in a Bloom Filter

Learn more →
Read more

BF.INFO

Returns information about a Bloom Filter

Learn more →
Read more

BF.INSERT

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

Learn more →
Read more

BF.LOADCHUNK

Restores a filter previously saved using SCANDUMP

Learn more →
Read more

BF.MADD

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

Learn more →
Read more

BF.MEXISTS

Checks whether one or more items exist in a Bloom Filter

Learn more →
Read more

BF.RESERVE

Creates a new Bloom Filter

Learn more →
Read more

BF.SCANDUMP

Begins an incremental save of the bloom filter

Learn more →
Read more

BGREWRITEAOF

Asynchronously rewrites the append-only file to disk.

Learn more →
Read more

BGSAVE

Asynchronously saves the database(s) to disk.

Learn more →
Read more

BITCOUNT

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

Learn more →
Read more

BITFIELD

Performs arbitrary bitfield integer operations on strings.

Learn more →
Read more

BITFIELD_RO

Performs arbitrary read-only bitfield integer operations on strings.

Learn more →
Read more

BITOP

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

Learn more →
Read more

BITPOS

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

Learn more →
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.

Learn more →
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.

Learn more →
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.

Learn more →
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.

Learn more →
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.

Learn more →
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.

Learn more →
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.

Learn more →
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.

Learn more →
Read more

CF.ADD

Adds an item to a Cuckoo Filter

Learn more →
Read more

CF.ADDNX

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

Learn more →
Read more

CF.COUNT

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

Learn more →
Read more

CF.DEL

Deletes an item from a Cuckoo Filter

Learn more →
Read more

CF.EXISTS

Checks whether one or more items exist in a Cuckoo Filter

Learn more →
Read more

CF.INFO

Returns information about a Cuckoo Filter

Learn more →
Read more

CF.INSERT

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

Learn more →
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

Learn more →
Read more

CF.LOADCHUNK

Restores a filter previously saved using SCANDUMP

Learn more →
Read more

CF.MEXISTS

Checks whether one or more items exist in a Cuckoo Filter

Learn more →
Read more

CF.RESERVE

Creates a new Cuckoo Filter

Learn more →
Read more

CF.SCANDUMP

Begins an incremental save of the bloom filter

Learn more →
Read more

CLIENT CACHING

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

Learn more →
Read more

CLIENT GETNAME

Returns the name of the connection.

Learn more →
Read more

CLIENT GETREDIR

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

Learn more →
Read more

CLIENT ID

Returns the unique client ID of the connection.

Learn more →
Read more

CLIENT INFO

Returns information about the connection.

Learn more →
Read more

CLIENT KILL

Terminates open connections.

Learn more →
Read more

CLIENT LIST

Lists open connections.

Learn more →
Read more

CLIENT NO-EVICT

Sets the client eviction mode of the connection.

Learn more →
Read more

CLIENT NO-TOUCH

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

Learn more →
Read more

CLIENT PAUSE

Suspends commands processing.

Learn more →
Read more

CLIENT REPLY

Instructs the server whether to reply to commands.

Learn more →
Read more

CLIENT SETINFO

Sets information specific to the client or connection.

Learn more →
Read more

CLIENT SETNAME

Sets the connection name.

Learn more →
Read more

CLIENT TRACKING

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

Learn more →
Read more

CLIENT TRACKINGINFO

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

Learn more →
Read more

CLIENT UNBLOCK

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

Learn more →
Read more

CLIENT UNPAUSE

Resumes processing commands from paused clients.

Learn more →
Read more

CLUSTER ADDSLOTS

Assigns new hash slots to a node.

Learn more →
Read more

CLUSTER ADDSLOTSRANGE

Assigns new hash slot ranges to a node.

Learn more →
Read more

CLUSTER BUMPEPOCH

Advances the cluster config epoch.

Learn more →
Read more

CLUSTER COUNT-FAILURE-REPORTS

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

Learn more →
Read more

CLUSTER COUNTKEYSINSLOT

Returns the number of keys in a hash slot.

Learn more →
Read more

CLUSTER DELSLOTS

Sets hash slots as unbound for a node.

Learn more →
Read more

CLUSTER DELSLOTSRANGE

Sets hash slot ranges as unbound for a node.

Learn more →
Read more

CLUSTER FAILOVER

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

Learn more →
Read more

CLUSTER FLUSHSLOTS

Deletes all slots information from a node.

Learn more →
Read more

CLUSTER FORGET

Removes a node from the nodes table.

Learn more →
Read more

CLUSTER GETKEYSINSLOT

Returns the key names in a hash slot.

Learn more →
Read more

CLUSTER INFO

Returns information about the state of a node.

Learn more →
Read more

CLUSTER KEYSLOT

Returns the hash slot for a key.

Learn more →
Read more

CLUSTER LINKS

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

Learn more →
Read more

CLUSTER MEET

Forces a node to handshake with another node.

Learn more →
Read more

CLUSTER MYID

Returns the ID of a node.

Learn more →
Read more

CLUSTER MYSHARDID

Returns the shard ID of a node.

Learn more →
Read more

CLUSTER NODES

Returns the cluster configuration for a node.

Learn more →
Read more

CLUSTER REPLICAS

Lists the replica nodes of a master node.

Learn more →
Read more

CLUSTER REPLICATE

Configure a node as replica of a master node.

Learn more →
Read more

CLUSTER RESET

Resets a node.

Learn more →
Read more

CLUSTER SAVECONFIG

Forces a node to save the cluster configuration to disk.

Learn more →
Read more

CLUSTER SET-CONFIG-EPOCH

Sets the configuration epoch for a new node.

Learn more →
Read more

CLUSTER SETSLOT

Binds a hash slot to a node.

Learn more →
Read more

CLUSTER SHARDS

Returns the mapping of cluster slots to shards.

Learn more →
Read more

CLUSTER SLAVES

Lists the replica nodes of a master node.

Learn more →
Read more

CLUSTER SLOTS

Returns the mapping of cluster slots to nodes.

Learn more →
Read more

CMS.INCRBY

Increases the count of one or more items by increment

Learn more →
Read more

CMS.INFO

Returns information about a sketch

Learn more →
Read more

CMS.INITBYDIM

Initializes a Count-Min Sketch to dimensions specified by user

Learn more →
Read more

CMS.INITBYPROB

Initializes a Count-Min Sketch to accommodate requested tolerances.

Learn more →
Read more

CMS.MERGE

Merges several sketches into one sketch

Learn more →
Read more

CMS.QUERY

Returns the count for one or more items in a sketch

Learn more →
Read more

COMMAND

Returns detailed information about all commands.

Learn more →
Read more

COMMAND COUNT

Returns a count of commands.

Learn more →
Read more

COMMAND DOCS

Returns documentary information about one, multiple or all commands.

Learn more →
Read more

COMMAND GETKEYS

Extracts the key names from an arbitrary command.

Learn more →
Read more

COMMAND GETKEYSANDFLAGS

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

Learn more →
Read more

COMMAND INFO

Returns information about one, multiple or all commands.

Learn more →
Read more

COMMAND LIST

Returns a list of command names.

Learn more →
Read more

CONFIG GET

Returns the effective values of configuration parameters.

Learn more →
Read more

CONFIG RESETSTAT

Resets the server's statistics.

Learn more →
Read more

CONFIG REWRITE

Persists the effective configuration to file.

Learn more →
Read more

CONFIG SET

Sets configuration parameters in-flight.

Learn more →
Read more

COPY

Copies the value of a key to a new key.

Learn more →
Read more

DBSIZE

Returns the number of keys in the database.

Learn more →
Read more

DECR

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

Learn more →
Read more

DECRBY

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

Learn more →
Read more

DEL

Deletes one or more keys.

Learn more →
Read more

DISCARD

Discards a transaction.

Learn more →
Read more

DUMP

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

Learn more →
Read more

ECHO

Returns the given string.

Learn more →
Read more

EVAL

Executes a server-side Lua script.

Learn more →
Read more

EVAL_RO

Executes a read-only server-side Lua script.

Learn more →
Read more

EVALSHA

Executes a server-side Lua script by SHA1 digest.

Learn more →
Read more

EVALSHA_RO

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

Learn more →
Read more

EXEC

Executes all commands in a transaction.

Learn more →
Read more

EXISTS

Determines whether one or more keys exist.

Learn more →
Read more

EXPIRE

Sets the expiration time of a key in seconds.

Learn more →
Read more

EXPIREAT

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

Learn more →
Read more

EXPIRETIME

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

Learn more →
Read more

FAILOVER

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

Learn more →
Read more

FCALL_RO

Invokes a read-only function.

Learn more →
Read more

FLUSHALL

Removes all keys from all databases.

Learn more →
Read more

FLUSHDB

Remove all keys from the current database.

Learn more →
Read more

FT._LIST

Returns a list of all existing indexes

Learn more →
Read more

FT.AGGREGATE

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

Learn more →
Read more

FT.ALIASADD

Adds an alias to the index

Learn more →
Read more

FT.ALIASDEL

Deletes an alias from the index

Learn more →
Read more

FT.ALIASUPDATE

Adds or updates an alias to the index

Learn more →
Read more

FT.ALTER

Adds a new field to the index

Learn more →
Read more

FT.CONFIG GET

Retrieves runtime configuration options

Learn more →
Read more

FT.CONFIG SET

Sets runtime configuration options

Learn more →
Read more

FT.CREATE

Creates an index with the given spec

Learn more →
Read more

FT.CURSOR DEL

Deletes a cursor

Learn more →
Read more

FT.CURSOR READ

Reads from a cursor

Learn more →
Read more

FT.DICTADD

Adds terms to a dictionary

Learn more →
Read more

FT.DICTDEL

Deletes terms from a dictionary

Learn more →
Read more

FT.DICTDUMP

Dumps all terms in the given dictionary

Learn more →
Read more

FT.DROPINDEX

Deletes the index

Learn more →
Read more

FT.EXPLAIN

Returns the execution plan for a complex query

Learn more →
Read more

FT.EXPLAINCLI

Returns the execution plan for a complex query

Learn more →
Read more

FT.INFO

Returns information and statistics on the index

Learn more →
Read more

FT.PROFILE

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

Learn more →
Read more

FT.SEARCH

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

Learn more →
Read more

FT.SPELLCHECK

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

Learn more →
Read more

FT.SUGADD

Adds a suggestion string to an auto-complete suggestion dictionary

Learn more →
Read more

FT.SUGDEL

Deletes a string from a suggestion index

Learn more →
Read more

FT.SUGGET

Gets completion suggestions for a prefix

Learn more →
Read more

FT.SUGLEN

Gets the size of an auto-complete suggestion dictionary

Learn more →
Read more

FT.SYNDUMP

Dumps the contents of a synonym group

Learn more →
Read more

FT.SYNUPDATE

Creates or updates a synonym group with additional terms

Learn more →
Read more

FT.TAGVALS

Returns the distinct tags indexed in a Tag field

Learn more →
Read more

FUNCTION DELETE

Deletes a library and its functions.

Learn more →
Read more

FUNCTION DUMP

Dumps all libraries into a serialized binary payload.

Learn more →
Read more

FUNCTION FLUSH

Deletes all libraries and functions.

Learn more →
Read more

FUNCTION KILL

Terminates a function during execution.

Learn more →
Read more

FUNCTION LIST

Returns information about all libraries.

Learn more →
Read more

FUNCTION LOAD

Creates a library.

Learn more →
Read more

FUNCTION RESTORE

Restores all libraries from a payload.

Learn more →
Read more

FUNCTION STATS

Returns information about a function during execution.

Learn more →
Read more

GEOADD

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

Learn more →
Read more

GEODIST

Returns the distance between two members of a geospatial index.

Learn more →
Read more

GEOHASH

Returns members from a geospatial index as geohash strings.

Learn more →
Read more

GEOPOS

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

Learn more →
Read more

GEORADIUS

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

Learn more →
Read more

GEORADIUS_RO

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

Learn more →
Read more

GEORADIUSBYMEMBER

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

Learn more →
Read more

GEORADIUSBYMEMBER_RO

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

Learn more →
Read more

GEOSEARCH

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

Learn more →
Read more

GEOSEARCHSTORE

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

Learn more →
Read more

GET

Returns the string value of a key.

Learn more →
Read more

GETBIT

Returns a bit value by offset.

Learn more →
Read more

GETDEL

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

Learn more →
Read more

GETEX

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

Learn more →
Read more

GETRANGE

Returns a substring of the string stored at a key.

Learn more →
Read more

GETSET

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

Learn more →
Read more

HDEL

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

Learn more →
Read more

HELLO

Handshakes with the Redis server.

Learn more →
Read more

HEXISTS

Determines whether a field exists in a hash.

Learn more →
Read more

HGET

Returns the value of a field in a hash.

Learn more →
Read more

HGETALL

Returns all fields and values in a hash.

Learn more →
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.

Learn more →
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.

Learn more →
Read more

HKEYS

Returns all fields in a hash.

Learn more →
Read more

HLEN

Returns the number of fields in a hash.

Learn more →
Read more

HMGET

Returns the values of all fields in a hash.

Learn more →
Read more

HMSET

Sets the values of multiple fields.

Learn more →
Read more

HRANDFIELD

Returns one or more random fields from a hash.

Learn more →
Read more

HSCAN

Iterates over fields and values of a hash.

Learn more →
Read more

HSET

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

Learn more →
Read more

HSETNX

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

Learn more →
Read more

HSTRLEN

Returns the length of the value of a field.

Learn more →
Read more

HVALS

Returns all values in a hash.

Learn more →
Read more

INCR

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

Learn more →
Read more

INCRBY

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

Learn more →
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.

Learn more →
Read more

INFO

Returns information and statistics about the server.

Learn more →
Read more

JSON.ARRAPPEND

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

Learn more →
Read more

JSON.ARRINDEX

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

Learn more →
Read more

JSON.ARRINSERT

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

Learn more →
Read more

JSON.ARRLEN

Returns the length of the array at path

Learn more →
Read more

JSON.ARRPOP

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

Learn more →
Read more

JSON.ARRTRIM

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

Learn more →
Read more

JSON.CLEAR

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

Learn more →
Read more

JSON.DEBUG

Debugging container command

Learn more →
Read more

JSON.DEBUG MEMORY

Reports the size in bytes of a key

Learn more →
Read more

JSON.GET

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

Learn more →
Read more

JSON.MERGE

Merges a given JSON value into matching paths. Consequently, JSON values at matching paths are updated, deleted, or expanded with new children

Learn more →
Read more

JSON.MGET

Returns the values at a path from one or more keys

Learn more →
Read more

JSON.MSET

Sets or updates the JSON value of one or more keys

Learn more →
Read more

JSON.NUMINCRBY

Increments the numeric value at path by a value

Learn more →
Read more

JSON.NUMMULTBY

Multiplies the numeric value at path by a value

Learn more →
Read more

JSON.OBJKEYS

Returns the JSON keys of the object at path

Learn more →
Read more

JSON.OBJLEN

Returns the number of keys of the object at path

Learn more →
Read more

JSON.RESP

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

Learn more →
Read more

JSON.SET

Sets or updates the JSON value at a path

Learn more →
Read more

JSON.STRAPPEND

Appends a string to a JSON string value at path

Learn more →
Read more

JSON.STRLEN

Returns the length of the JSON String at path in key

Learn more →
Read more

JSON.TOGGLE

Toggles a boolean value

Learn more →
Read more

JSON.TYPE

Returns the type of the JSON value at path

Learn more →
Read more

KEYS

Returns all key names that match a pattern.

Learn more →
Read more

LASTSAVE

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

Learn more →
Read more

LATENCY DOCTOR

Returns a human-readable latency analysis report.

Learn more →
Read more

LATENCY GRAPH

Returns a latency graph for an event.

Learn more →
Read more

LATENCY HISTOGRAM

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

Learn more →
Read more

LATENCY HISTORY

Returns timestamp-latency samples for an event.

Learn more →
Read more

LATENCY LATEST

Returns the latest latency samples for all events.

Learn more →
Read more

LATENCY RESET

Resets the latency data for one or more events.

Learn more →
Read more

LCS

Finds the longest common substring.

Learn more →
Read more

LINDEX

Returns an element from a list by its index.

Learn more →
Read more

LINSERT

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

Learn more →
Read more

LLEN

Returns the length of a list.

Learn more →
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.

Learn more →
Read more

LMPOP

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

Learn more →
Read more

LOLWUT

Displays computer art and the Redis version

Learn more →
Read more

LPOP

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

Learn more →
Read more

LPOS

Returns the index of matching elements in a list.

Learn more →
Read more

LPUSH

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

Learn more →
Read more

LPUSHX

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

Learn more →
Read more

LRANGE

Returns a range of elements from a list.

Learn more →
Read more

LREM

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

Learn more →
Read more

LSET

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

Learn more →
Read more

LTRIM

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

Learn more →
Read more

MEMORY DOCTOR

Outputs a memory problems report.

Learn more →
Read more

MEMORY MALLOC-STATS

Returns the allocator statistics.

Learn more →
Read more

MEMORY PURGE

Asks the allocator to release memory.

Learn more →
Read more

MEMORY STATS

Returns details about memory usage.

Learn more →
Read more

MEMORY USAGE

Estimates the memory usage of a key.

Learn more →
Read more

MGET

Atomically returns the string values of one or more keys.

Learn more →
Read more

MIGRATE

Atomically transfers a key from one Redis instance to another.

Learn more →
Read more

MODULE LIST

Returns all loaded modules.

Learn more →
Read more

MODULE LOADEX

Loads a module using extended parameters.

Learn more →
Read more

MODULE UNLOAD

Unloads a module.

Learn more →
Read more

MONITOR

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

Learn more →
Read more

MOVE

Moves a key to another database.

Learn more →
Read more

MSET

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

Learn more →
Read more

MSETNX

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

Learn more →
Read more

OBJECT ENCODING

Returns the internal encoding of a Redis object.

Learn more →
Read more

OBJECT FREQ

Returns the logarithmic access frequency counter of a Redis object.

Learn more →
Read more

OBJECT IDLETIME

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

Learn more →
Read more

OBJECT REFCOUNT

Returns the reference count of a value of a key.

Learn more →
Read more

PERSIST

Removes the expiration time of a key.

Learn more →
Read more

PEXPIRE

Sets the expiration time of a key in milliseconds.

Learn more →
Read more

PEXPIREAT

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

Learn more →
Read more

PEXPIRETIME

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

Learn more →
Read more

PFADD

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

Learn more →
Read more

PFCOUNT

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

Learn more →
Read more

PFDEBUG

Internal commands for debugging HyperLogLog values.

Learn more →
Read more

PFMERGE

Merges one or more HyperLogLog values into a single key.

Learn more →
Read more

PFSELFTEST

An internal command for testing HyperLogLog values.

Learn more →
Read more

PING

Returns the server's liveliness response.

Learn more →
Read more

PSETEX

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

Learn more →
Read more

PSUBSCRIBE

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

Learn more →
Read more

PSYNC

An internal command used in replication.

Learn more →
Read more

PTTL

Returns the expiration time in milliseconds of a key.

Learn more →
Read more

PUBLISH

Posts a message to a channel.

Learn more →
Read more

PUBSUB CHANNELS

Returns the active channels.

Learn more →
Read more

PUBSUB NUMPAT

Returns a count of unique pattern subscriptions.

Learn more →
Read more

PUBSUB NUMSUB

Returns a count of subscribers to channels.

Learn more →
Read more

PUBSUB SHARDCHANNELS

Returns the active shard channels.

Learn more →
Read more

PUBSUB SHARDNUMSUB

Returns the count of subscribers of shard channels.

Learn more →
Read more

PUNSUBSCRIBE

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

Learn more →
Read more

RANDOMKEY

Returns a random key name from the database.

Learn more →
Read more

READONLY

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

Learn more →
Read more

READWRITE

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

Learn more →
Read more

RENAME

Renames a key and overwrites the destination.

Learn more →
Read more

RENAMENX

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

Learn more →
Read more

REPLCONF

An internal command for configuring the replication stream.

Learn more →
Read more

REPLICAOF

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

Learn more →
Read more

RESET

Resets the connection.

Learn more →
Read more

RESTORE

Creates a key from the serialized representation of a value.

Learn more →
Read more

RESTORE-ASKING

An internal command for migrating keys in a cluster.

Learn more →
Read more

ROLE

Returns the replication role.

Learn more →
Read more

RPOP

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

Learn more →
Read more

RPOPLPUSH

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

Learn more →
Read more

RPUSH

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

Learn more →
Read more

RPUSHX

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

Learn more →
Read more

SADD

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

Learn more →
Read more

SAVE

Synchronously saves the database(s) to disk.

Learn more →
Read more

SCAN

Iterates over the key names in the database.

Learn more →
Read more

SCARD

Returns the number of members in a set.

Learn more →
Read more

SCRIPT DEBUG

Sets the debug mode of server-side Lua scripts.

Learn more →
Read more

SCRIPT EXISTS

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

Learn more →
Read more

SCRIPT FLUSH

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

Learn more →
Read more

SCRIPT KILL

Terminates a server-side Lua script during execution.

Learn more →
Read more

SCRIPT LOAD

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

Learn more →
Read more

SDIFF

Returns the difference of multiple sets.

Learn more →
Read more

SDIFFSTORE

Stores the difference of multiple sets in a key.

Learn more →
Read more

SELECT

Changes the selected database.

Learn more →
Read more

SET

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

Learn more →
Read more

SETBIT

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

Learn more →
Read more

SETEX

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

Learn more →
Read more

SETNX

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

Learn more →
Read more

SETRANGE

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

Learn more →
Read more

SHUTDOWN

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

Learn more →
Read more

SINTER

Returns the intersect of multiple sets.

Learn more →
Read more

SINTERCARD

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

Learn more →
Read more

SINTERSTORE

Stores the intersect of multiple sets in a key.

Learn more →
Read more

SISMEMBER

Determines whether a member belongs to a set.

Learn more →
Read more

SLAVEOF

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

Learn more →
Read more

SLOWLOG GET

Returns the slow log's entries.

Learn more →
Read more

SLOWLOG LEN

Returns the number of entries in the slow log.

Learn more →
Read more

SLOWLOG RESET

Clears all entries from the slow log.

Learn more →
Read more

SMEMBERS

Returns all members of a set.

Learn more →
Read more

SMISMEMBER

Determines whether multiple members belong to a set.

Learn more →
Read more

SMOVE

Moves a member from one set to another.

Learn more →
Read more

SORT

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

Learn more →
Read more

SORT_RO

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

Learn more →
Read more

SPOP

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

Learn more →
Read more

SPUBLISH

Post a message to a shard channel

Learn more →
Read more

SRANDMEMBER

Get one or multiple random members from a set

Learn more →
Read more

SREM

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

Learn more →
Read more

SSCAN

Iterates over members of a set.

Learn more →
Read more

SSUBSCRIBE

Listens for messages published to shard channels.

Learn more →
Read more

STRLEN

Returns the length of a string value.

Learn more →
Read more

SUBSCRIBE

Listens for messages published to channels.

Learn more →
Read more

SUBSTR

Returns a substring from a string value.

Learn more →
Read more

SUNION

Returns the union of multiple sets.

Learn more →
Read more

SUNIONSTORE

Stores the union of multiple sets in a key.

Learn more →
Read more

SUNSUBSCRIBE

Stops listening to messages posted to shard channels.

Learn more →
Read more

SWAPDB

Swaps two Redis databases.

Learn more →
Read more

SYNC

An internal command used in replication.

Learn more →
Read more

TDIGEST.ADD

Adds one or more observations to a t-digest sketch

Learn more →
Read more

TDIGEST.BYRANK

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

Learn more →
Read more

TDIGEST.BYREVRANK

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

Learn more →
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)

Learn more →
Read more

TDIGEST.CREATE

Allocates memory and initializes a new t-digest sketch

Learn more →
Read more

TDIGEST.INFO

Returns information and statistics about a t-digest sketch

Learn more →
Read more

TDIGEST.MAX

Returns the maximum observation value from a t-digest sketch

Learn more →
Read more

TDIGEST.MERGE

Merges multiple t-digest sketches into a single sketch

Learn more →
Read more

TDIGEST.MIN

Returns the minimum observation value from a t-digest sketch

Learn more →
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

Learn more →
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)

Learn more →
Read more

TDIGEST.RESET

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

Learn more →
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)

Learn more →
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

Learn more →
Read more

TFCALL

Invoke a JavaScript function

Learn more →
Read more

TFCALLASYNC

Invoke an asynchronous JavaScript function

Learn more →
Read more

TFUNCTION DELETE

Delete a JavaScript library from Redis by name

Learn more →
Read more

TFUNCTION LIST

List all JavaScript libraries loaded into Redis

Learn more →
Read more

TFUNCTION LOAD

Load a new JavaScript library into Redis

Learn more →
Read more

TIME

Returns the server time.

Learn more →
Read more

TOPK.ADD

Increases the count of one or more items by increment

Learn more →
Read more

TOPK.COUNT

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

Learn more →
Read more

TOPK.INCRBY

Increases the count of one or more items by increment

Learn more →
Read more

TOPK.INFO

Returns information about a sketch

Learn more →
Read more

TOPK.LIST

Return full list of items in Top K list

Learn more →
Read more

TOPK.QUERY

Checks whether one or more items are in a sketch

Learn more →
Read more

TOPK.RESERVE

Initializes a TopK with specified parameters

Learn more →
Read more

TOUCH

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

Learn more →
Read more

TS.ADD

Append a sample to a time series

Learn more →
Read more

TS.ALTER

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

Learn more →
Read more

TS.CREATE

Create a new time series

Learn more →
Read more

TS.CREATERULE

Create a compaction rule

Learn more →
Read more

TS.DECRBY

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

Learn more →
Read more

TS.DEL

Delete all samples between two timestamps for a given time series

Learn more →
Read more

TS.DELETERULE

Delete a compaction rule

Learn more →
Read more

TS.GET

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

Learn more →
Read more

TS.INCRBY

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

Learn more →
Read more

TS.INFO

Returns information and statistics for a time series

Learn more →
Read more

TS.MADD

Append new samples to one or more time series

Learn more →
Read more

TS.MGET

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

Learn more →
Read more

TS.MRANGE

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

Learn more →
Read more

TS.MREVRANGE

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

Learn more →
Read more

TS.QUERYINDEX

Get all time series keys matching a filter list

Learn more →
Read more

TS.RANGE

Query a range in forward direction

Learn more →
Read more

TS.REVRANGE

Query a range in reverse direction

Learn more →
Read more

TTL

Returns the expiration time in seconds of a key.

Learn more →
Read more

TYPE

Determines the type of value stored at a key.

Learn more →
Read more

UNLINK

Asynchronously deletes one or more keys.

Learn more →
Read more

UNSUBSCRIBE

Stops listening to messages posted to channels.

Learn more →
Read more

UNWATCH

Forgets about watched keys of a transaction.

Learn more →
Read more

WAIT

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

Learn more →
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.

Learn more →
Read more

WATCH

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

Learn more →
Read more

XACK

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

Learn more →
Read more

XADD

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

Learn more →
Read more

XAUTOCLAIM

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

Learn more →
Read more

XCLAIM

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

Learn more →
Read more

XDEL

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

Learn more →
Read more

XGROUP CREATE

Creates a consumer group.

Learn more →
Read more

XGROUP CREATECONSUMER

Creates a consumer in a consumer group.

Learn more →
Read more

XGROUP DELCONSUMER

Deletes a consumer from a consumer group.

Learn more →
Read more

XGROUP DESTROY

Destroys a consumer group.

Learn more →
Read more

XGROUP SETID

Sets the last-delivered ID of a consumer group.

Learn more →
Read more

XINFO CONSUMERS

Returns a list of the consumers in a consumer group.

Learn more →
Read more

XINFO GROUPS

Returns a list of the consumer groups of a stream.

Learn more →
Read more

XINFO STREAM

Returns information about a stream.

Learn more →
Read more

XLEN

Return the number of messages in a stream.

Learn more →
Read more

XPENDING

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

Learn more →
Read more

XRANGE

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

Learn more →
Read more

XREAD

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

Learn more →
Read more

XREADGROUP

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

Learn more →
Read more

XREVRANGE

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

Learn more →
Read more

XSETID

An internal command for replicating stream values.

Learn more →
Read more

XTRIM

Deletes messages from the beginning of a stream.

Learn more →
Read more

ZADD

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

Learn more →
Read more

ZCARD

Returns the number of members in a sorted set.

Learn more →
Read more

ZCOUNT

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

Learn more →
Read more

ZDIFF

Returns the difference between multiple sorted sets.

Learn more →
Read more

ZDIFFSTORE

Stores the difference of multiple sorted sets in a key.

Learn more →
Read more

ZINCRBY

Increments the score of a member in a sorted set.

Learn more →
Read more

ZINTER

Returns the intersect of multiple sorted sets.

Learn more →
Read more

ZINTERCARD

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

Learn more →
Read more

ZINTERSTORE

Stores the intersect of multiple sorted sets in a key.

Learn more →
Read more

ZLEXCOUNT

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

Learn more →
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.

Learn more →
Read more

ZMSCORE

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

Learn more →
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.

Learn more →
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.

Learn more →
Read more

ZRANDMEMBER

Returns one or more random members from a sorted set.

Learn more →
Read more

ZRANGE

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

Learn more →
Read more

ZRANGEBYLEX

Returns members in a sorted set within a lexicographical range.

Learn more →
Read more

ZRANGEBYSCORE

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

Learn more →
Read more

ZRANGESTORE

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

Learn more →
Read more

ZRANK

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

Learn more →
Read more

ZREM

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

Learn more →
Read more

ZREMRANGEBYLEX

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

Learn more →
Read more

ZREMRANGEBYRANK

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

Learn more →
Read more

ZREMRANGEBYSCORE

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

Learn more →
Read more

ZREVRANGE

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

Learn more →
Read more

ZREVRANGEBYLEX

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

Learn more →
Read more

ZREVRANGEBYSCORE

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

Learn more →
Read more

ZREVRANK

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

Learn more →
Read more

ZSCAN

Iterates over members and scores of a sorted set.

Learn more →
Read more

ZSCORE

Returns the score of a member in a sorted set.

Learn more →
Read more

ZUNION

Returns the union of multiple sorted sets.

Learn more →
Read more

ZUNIONSTORE

Stores the union of multiple sorted sets in a key.

Learn more →
Read more