DiceDBDiceDB
Commands

Inherited from Valkey

Complete list of commands supported in DiceDB that are inherited from Valkey.

CommandDocSynopsisMin DiceDBMin Valkey
ACLdocA container for Access List Control commands.1.0.06.0.0
ACL CATdocLists the ACL categories, or the commands inside a category.1.0.06.0.0
ACL DELUSERdocDeletes ACL users, and terminates their connections.1.0.06.0.0
ACL DRYRUNdocSimulates the execution of a command by a user, without executing the command.1.0.07.0.0
ACL GENPASSdocGenerates a pseudorandom, secure password that can be used to identify ACL users.1.0.06.0.0
ACL GETUSERdocLists the ACL rules of a user.1.0.06.0.0
ACL HELPdocReturns helpful text about the different subcommands.1.0.06.0.0
ACL LISTdocDumps the effective rules in ACL file format.1.0.06.0.0
ACL LOADdocReloads the rules from the configured ACL file.1.0.06.0.0
ACL LOGdocLists recent security events generated due to ACL rules.1.0.06.0.0
ACL SAVEdocSaves the effective ACL rules in the configured ACL file.1.0.06.0.0
ACL SETUSERdocCreates and modifies an ACL user and its rules.1.0.06.0.0
ACL USERSdocLists all ACL users.1.0.06.0.0
ACL WHOAMIdocReturns the authenticated username of the current connection.1.0.06.0.0
APPENDdocAppends a string to the value of a key. Creates the key if it doesn't exist.1.0.02.0.0
ASKINGdocSignals that a cluster client is following an -ASK redirect.1.0.03.0.0
AUTHdocAuthenticates the connection.1.0.01.0.0
BGREWRITEAOFdocAsynchronously rewrites the append-only file to disk.1.0.01.0.0
BGSAVEdocAsynchronously saves the database(s) to disk.1.0.01.0.0
BITCOUNTdocCounts the number of set bits (population counting) in a string.1.0.02.6.0
BITFIELDdocPerforms arbitrary bitfield integer operations on strings.1.0.03.2.0
BITFIELD_ROdocPerforms arbitrary read-only bitfield integer operations on strings.1.0.06.0.0
BITOPdocPerforms bitwise operations on multiple strings, and stores the result.1.0.02.6.0
BITPOSdocFinds the first set (1) or clear (0) bit in a string.1.0.02.8.7
BLMOVEdocPops 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.1.0.06.2.0
BLMPOPdocPops the first element from one of multiple lists. Blocks until an element is available otherwise. Deletes the list if the last element was popped.1.0.07.0.0
BLPOPdocRemoves and returns the first element in a list. Blocks until an element is available otherwise. Deletes the list if the last element was popped.1.0.02.0.0
BRPOPdocRemoves and returns the last element in a list. Blocks until an element is available otherwise. Deletes the list if the last element was popped.1.0.02.0.0
BRPOPLPUSHdocPops 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.1.0.02.2.0
BZMPOPdocRemoves 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.1.0.07.0.0
BZPOPMAXdocRemoves 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.1.0.05.0.0
BZPOPMINdocRemoves 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.1.0.05.0.0
CLIENTdocA container for client connection commands.1.0.02.4.0
CLIENT CACHINGdocInstructs the server whether to track the keys in the next request.1.0.06.0.0
CLIENT CAPAdocA client claims its capability.1.0.08.0.0
CLIENT GETNAMEdocReturns the name of the connection.1.0.02.6.9
CLIENT GETREDIRdocReturns the client ID to which the connection's tracking notifications are redirected.1.0.06.0.0
CLIENT HELPdocReturns helpful text about the different subcommands.1.0.05.0.0
CLIENT IDdocReturns the unique client ID of the connection.1.0.05.0.0
CLIENT INFOdocReturns information about the connection.1.0.06.2.0
CLIENT KILLdocTerminates open connections.1.0.02.4.0
CLIENT LISTdocLists open connections.1.0.02.4.0
CLIENT NO EVICTdocSets the client eviction mode of the connection.1.0.07.0.0
CLIENT NO TOUCHdocControls whether commands sent by the client affect the LRU/LFU of accessed keys.1.0.07.2.0
CLIENT PAUSEdocSuspends commands processing.1.0.03.0.0
CLIENT REPLYdocInstructs the server whether to reply to commands.1.0.03.2.0
CLIENT SETINFOdocSets information specific to the client or connection.1.0.07.2.0
CLIENT SETNAMEdocSets the connection name.1.0.02.6.9
CLIENT TRACKINGdocControls server-assisted client-side caching for the connection.1.0.06.0.0
CLIENT TRACKINGINFOdocReturns information about server-assisted client-side caching for the connection.1.0.06.2.0
CLIENT UNBLOCKdocUnblocks a client blocked by a blocking command from a different connection.1.0.05.0.0
CLIENT UNPAUSEdocResumes processing commands from paused clients.1.0.06.2.0
CLUSTERdocA container for Cluster commands.1.0.03.0.0
CLUSTER ADDSLOTSdocAssigns new hash slots to a node.1.0.03.0.0
CLUSTER ADDSLOTSRANGEdocAssigns new hash slot ranges to a node.1.0.07.0.0
CLUSTER BUMPEPOCHdocAdvances the cluster config epoch.1.0.03.0.0
CLUSTER COUNT FAILURE REPORTSdocReturns the number of active failure reports active for a node.1.0.03.0.0
CLUSTER COUNTKEYSINSLOTdocReturns the number of keys in a hash slot.1.0.03.0.0
CLUSTER DELSLOTSdocSets hash slots as unbound for a node.1.0.03.0.0
CLUSTER DELSLOTSRANGEdocSets hash slot ranges as unbound for a node.1.0.07.0.0
CLUSTER FAILOVERdocForces a replica to perform a manual failover of its primary.1.0.03.0.0
CLUSTER FLUSHSLOTSdocDeletes all slots information from a node.1.0.03.0.0
CLUSTER FORGETdocRemoves a node from the nodes table.1.0.03.0.0
CLUSTER GETKEYSINSLOTdocReturns the key names in a hash slot.1.0.03.0.0
CLUSTER HELPdocReturns helpful text about the different subcommands.1.0.05.0.0
CLUSTER INFOdocReturns information about the state of a node.1.0.03.0.0
CLUSTER KEYSLOTdocReturns the hash slot for a key.1.0.03.0.0
CLUSTER LINKSdocReturns a list of all TCP links to and from peer nodes.1.0.07.0.0
CLUSTER MEETdocForces a node to handshake with another node.1.0.03.0.0
CLUSTER MYIDdocReturns the ID of a node.1.0.03.0.0
CLUSTER MYSHARDIDdocReturns the shard ID of a node.1.0.07.2.0
CLUSTER NODESdocReturns the cluster configuration for a node.1.0.03.0.0
CLUSTER REPLICASdocLists the replica nodes of a primary node.1.0.05.0.0
CLUSTER REPLICATEdocConfigure a node as replica of a primary node.1.0.03.0.0
CLUSTER RESETdocResets a node.1.0.03.0.0
CLUSTER SAVECONFIGdocForces a node to save the cluster configuration to disk.1.0.03.0.0
CLUSTER SET CONFIG EPOCHdocSets the configuration epoch for a new node.1.0.03.0.0
CLUSTER SETSLOTdocBinds a hash slot to a node.1.0.03.0.0
CLUSTER SHARDSdocReturns the mapping of cluster slots to shards.1.0.07.0.0
CLUSTER SLAVESdocLists the replica nodes of a primary node.1.0.03.0.0
CLUSTER SLOT STATSdocReturn an array of slot usage statistics for slots assigned to the current node.1.0.08.0.0
CLUSTER SLOTSdocReturns the mapping of cluster slots to nodes.1.0.03.0.0
COMMANDdocReturns detailed information about all commands.1.0.02.8.13
COMMAND COUNTdocReturns a count of commands.1.0.02.8.13
COMMAND DOCSdocReturns documentary information about one, multiple or all commands.1.0.07.0.0
COMMAND GETKEYSdocExtracts the key names from an arbitrary command.1.0.02.8.13
COMMAND GETKEYSANDFLAGSdocExtracts the key names and access flags for an arbitrary command.1.0.07.0.0
COMMAND HELPdocReturns helpful text about the different subcommands.1.0.05.0.0
COMMAND INFOdocReturns information about one, multiple or all commands.1.0.02.8.13
COMMAND LISTdocReturns a list of command names.1.0.07.0.0
CONFIGdocA container for server configuration commands.1.0.02.0.0
CONFIG GETdocReturns the effective values of configuration parameters.1.0.02.0.0
CONFIG HELPdocReturns helpful text about the different subcommands.1.0.05.0.0
CONFIG RESETSTATdocResets the server's statistics.1.0.02.0.0
CONFIG REWRITEdocPersists the effective configuration to file.1.0.02.8.0
CONFIG SETdocSets configuration parameters in-flight.1.0.02.0.0
COPYdocCopies the value of a key to a new key.1.0.06.2.0
DBSIZEdocReturns the number of keys in the database.1.0.01.0.0
DEBUGdocA container for debugging commands.1.0.01.0.0
DECRdocDecrements the integer value of a key by one. Uses 0 as initial value if the key doesn't exist.1.0.01.0.0
DECRBYdocDecrements a number from the integer value of a key. Uses 0 as initial value if the key doesn't exist.1.0.01.0.0
DELdocDeletes one or more keys.1.0.01.0.0
DISCARDdocDiscards a transaction.1.0.02.0.0
DUMPdocReturns a serialized representation of the value stored at a key.1.0.02.6.0
ECHOdocReturns the given string.1.0.01.0.0
EVALdocExecutes a server-side Lua script.1.0.02.6.0
EVALSHAdocExecutes a server-side Lua script by SHA1 digest.1.0.02.6.0
EVALSHA_ROdocExecutes a read-only server-side Lua script by SHA1 digest.1.0.07.0.0
EVAL_ROdocExecutes a read-only server-side Lua script.1.0.07.0.0
EVICTdocEvicts one or more keys using the same mechanism as memory pressure eviction. If no keys are specified, evicts one random key.1.0.08.0.0
EXECdocExecutes all commands in a transaction.1.0.01.2.0
EXISTSdocDetermines whether one or more keys exist.1.0.01.0.0
EXPIREdocSets the expiration time of a key in seconds.1.0.01.0.0
EXPIREATdocSets the expiration time of a key to a Unix timestamp.1.0.01.2.0
EXPIRETIMEdocReturns the expiration time of a key as a Unix timestamp.1.0.07.0.0
FAILOVERdocStarts a coordinated failover from a server to one of its replicas.1.0.06.2.0
FCALLdocInvokes a function.1.0.07.0.0
FCALL_ROdocInvokes a read-only function.1.0.07.0.0
FLUSHALLdocRemoves all keys from all databases.1.0.01.0.0
FLUSHDBdocRemove all keys from the current database.1.0.01.0.0
FUNCTIONdocA container for function commands.1.0.07.0.0
FUNCTION DELETEdocDeletes a library and its functions.1.0.07.0.0
FUNCTION DUMPdocDumps all libraries into a serialized binary payload.1.0.07.0.0
FUNCTION FLUSHdocDeletes all libraries and functions.1.0.07.0.0
FUNCTION HELPdocReturns helpful text about the different subcommands.1.0.07.0.0
FUNCTION KILLdocTerminates a function during execution.1.0.07.0.0
FUNCTION LISTdocReturns information about all libraries.1.0.07.0.0
FUNCTION LOADdocCreates a library.1.0.07.0.0
FUNCTION RESTOREdocRestores all libraries from a payload.1.0.07.0.0
FUNCTION STATSdocReturns information about a function during execution.1.0.07.0.0
GEOADDdocAdds one or more members to a geospatial index. The key is created if it doesn't exist.1.0.03.2.0
GEODISTdocReturns the distance between two members of a geospatial index.1.0.03.2.0
GEOHASHdocReturns members from a geospatial index as geohash strings.1.0.03.2.0
GEOPOSdocReturns the longitude and latitude of members from a geospatial index.1.0.03.2.0
GEORADIUSdocQueries a geospatial index for members within a distance from a coordinate, optionally stores the result.1.0.03.2.0
GEORADIUSBYMEMBERdocQueries a geospatial index for members within a distance from a member, optionally stores the result.1.0.03.2.0
GEORADIUSBYMEMBER_ROdocReturns members from a geospatial index that are within a distance from a member.1.0.03.2.10
GEORADIUS_ROdocReturns members from a geospatial index that are within a distance from a coordinate.1.0.03.2.10
GEOSEARCHdocQueries a geospatial index for members inside an area of a box or a circle.1.0.06.2.0
GEOSEARCHSTOREdocQueries a geospatial index for members inside an area of a box or a circle, optionally stores the result.1.0.06.2.0
GETdocReturns the string value of a key.1.0.01.0.0
GETBITdocReturns a bit value by offset.1.0.02.2.0
GETDELdocReturns the string value of a key after deleting the key.1.0.06.2.0
GETEXdocReturns the string value of a key after setting its expiration time.1.0.06.2.0
GETRANGEdocReturns a substring of the string stored at a key.1.0.02.4.0
GETSETdocReturns the previous string value of a key after setting it to a new value.1.0.01.0.0
HDELdocDeletes one or more fields and their values from a hash. Deletes the hash if no fields remain.1.0.02.0.0
HELLOdocHandshakes with the server.1.0.06.0.0
HEXISTSdocDetermines whether a field exists in a hash.1.0.02.0.0
HGETdocReturns the value of a field in a hash.1.0.02.0.0
HGETALLdocReturns all fields and values in a hash.1.0.02.0.0
HINCRBYdocIncrements the integer value of a field in a hash by a number. Uses 0 as initial value if the field doesn't exist.1.0.02.0.0
HINCRBYFLOATdocIncrements the floating point value of a field by a number. Uses 0 as initial value if the field doesn't exist.1.0.02.6.0
HKEYSdocReturns all fields in a hash.1.0.02.0.0
HLENdocReturns the number of fields in a hash.1.0.02.0.0
HMGETdocReturns the values of all fields in a hash.1.0.02.0.0
HMSETdocSets the values of multiple fields.1.0.02.0.0
HRANDFIELDdocReturns one or more random fields from a hash.1.0.06.2.0
HSCANdocIterates over fields and values of a hash.1.0.02.8.0
HSETdocCreates or modifies the value of a field in a hash.1.0.02.0.0
HSETNXdocSets the value of a field in a hash only when the field doesn't exist.1.0.02.0.0
HSTRLENdocReturns the length of the value of a field.1.0.03.2.0
HVALSdocReturns all values in a hash.1.0.02.0.0
INCRdocIncrements the integer value of a key by one. Uses 0 as initial value if the key doesn't exist.1.0.01.0.0
INCRBYdocIncrements the integer value of a key by a number. Uses 0 as initial value if the key doesn't exist.1.0.01.0.0
INCRBYFLOATdocIncrement the floating point value of a key by a number. Uses 0 as initial value if the key doesn't exist.1.0.02.6.0
INFOdocReturns information and statistics about the server.1.0.01.0.0
KEYSdocReturns all key names that match a pattern.1.0.01.0.0
LASTSAVEdocReturns the Unix timestamp of the last successful save to disk.1.0.01.0.0
LATENCYdocA container for latency diagnostics commands.1.0.02.8.13
LATENCY DOCTORdocReturns a human-readable latency analysis report.1.0.02.8.13
LATENCY GRAPHdocReturns a latency graph for an event.1.0.02.8.13
LATENCY HELPdocReturns helpful text about the different subcommands.1.0.02.8.13
LATENCY HISTOGRAMdocReturns the cumulative distribution of latencies of a subset or all commands.1.0.07.0.0
LATENCY HISTORYdocReturns timestamp-latency samples for an event.1.0.02.8.13
LATENCY LATESTdocReturns the latest latency samples for all events.1.0.02.8.13
LATENCY RESETdocResets the latency data for one or more events.1.0.02.8.13
LCSdocFinds the longest common substring.1.0.07.0.0
LINDEXdocReturns an element from a list by its index.1.0.01.0.0
LINSERTdocInserts an element before or after another element in a list.1.0.02.2.0
LLENdocReturns the length of a list.1.0.01.0.0
LMOVEdocReturns an element after popping it from one list and pushing it to another. Deletes the list if the last element was moved.1.0.06.2.0
LMPOPdocReturns multiple elements from a list after removing them. Deletes the list if the last element was popped.1.0.07.0.0
LOLWUTdocDisplays computer art and the server version1.0.05.0.0
LPOPdocReturns the first elements in a list after removing it. Deletes the list if the last element was popped.1.0.01.0.0
LPOSdocReturns the index of matching elements in a list.1.0.06.0.6
LPUSHdocPrepends one or more elements to a list. Creates the key if it doesn't exist.1.0.01.0.0
LPUSHXdocPrepends one or more elements to a list only when the list exists.1.0.02.2.0
LRANGEdocReturns a range of elements from a list.1.0.01.0.0
LREMdocRemoves elements from a list. Deletes the list if the last element was removed.1.0.01.0.0
LSETdocSets the value of an element in a list by its index.1.0.01.0.0
LTRIMdocRemoves elements from both ends a list. Deletes the list if all elements were trimmed.1.0.01.0.0
MEMORYdocA container for memory diagnostics commands.1.0.04.0.0
MEMORY DOCTORdocOutputs a memory problems report.1.0.04.0.0
MEMORY HELPdocReturns helpful text about the different subcommands.1.0.04.0.0
MEMORY MALLOC STATSdocReturns the allocator statistics.1.0.04.0.0
MEMORY PURGEdocAsks the allocator to release memory.1.0.04.0.0
MEMORY STATSdocReturns details about memory usage.1.0.04.0.0
MEMORY USAGEdocEstimates the memory usage of a key.1.0.04.0.0
MGETdocAtomically returns the string values of one or more keys.1.0.01.0.0
MIGRATEdocAtomically transfers a key from one instance to another.1.0.02.6.0
MODULEdocA container for module commands.1.0.04.0.0
MODULE HELPdocReturns helpful text about the different subcommands.1.0.05.0.0
MODULE LISTdocReturns all loaded modules.1.0.04.0.0
MODULE LOADdocLoads a module.1.0.04.0.0
MODULE LOADEXdocLoads a module using extended parameters.1.0.07.0.0
MODULE UNLOADdocUnloads a module.1.0.04.0.0
MONITORdocListens for all requests received by the server in real-time.1.0.01.0.0
MOVEdocMoves a key to another database.1.0.01.0.0
MSETdocAtomically creates or modifies the string values of one or more keys.1.0.01.0.1
MSETNXdocAtomically modifies the string values of one or more keys only when all keys don't exist.1.0.01.0.1
MULTIdocStarts a transaction.1.0.01.2.0
OBJECTdocA container for object introspection commands.1.0.02.2.3
OBJECT ENCODINGdocReturns the internal encoding of an object.1.0.02.2.3
OBJECT FREQdocReturns the logarithmic access frequency counter of an object.1.0.04.0.0
OBJECT HELPdocReturns helpful text about the different subcommands.1.0.06.2.0
OBJECT IDLETIMEdocReturns the time since the last access to an object.1.0.02.2.3
OBJECT REFCOUNTdocReturns the reference count of a value of a key.1.0.02.2.3
PERSISTdocRemoves the expiration time of a key.1.0.02.2.0
PEXPIREdocSets the expiration time of a key in milliseconds.1.0.02.6.0
PEXPIREATdocSets the expiration time of a key to a Unix milliseconds timestamp.1.0.02.6.0
PEXPIRETIMEdocReturns the expiration time of a key as a Unix milliseconds timestamp.1.0.07.0.0
PFADDdocAdds elements to a HyperLogLog key. Creates the key if it doesn't exist.1.0.02.8.9
PFCOUNTdocReturns the approximated cardinality of the set(s) observed by the HyperLogLog key(s).1.0.02.8.9
PFDEBUGdocInternal commands for debugging HyperLogLog values.1.0.02.8.9
PFMERGEdocMerges one or more HyperLogLog values into a single key.1.0.02.8.9
PFSELFTESTdocAn internal command for testing HyperLogLog values.1.0.02.8.9
PINGdocReturns the server's liveliness response.1.0.01.0.0
PSETEXdocSets both string value and expiration time in milliseconds of a key. The key is created if it doesn't exist.1.0.02.6.0
PSUBSCRIBEdocListens for messages published to channels that match one or more patterns.1.0.02.0.0
PSYNCdocAn internal command used in replication.1.0.02.8.0
PTTLdocReturns the expiration time in milliseconds of a key.1.0.02.6.0
PUBLISHdocPosts a message to a channel.1.0.02.0.0
PUBSUBdocA container for Pub/Sub commands.1.0.02.8.0
PUBSUB CHANNELSdocReturns the active channels.1.0.02.8.0
PUBSUB HELPdocReturns helpful text about the different subcommands.1.0.06.2.0
PUBSUB NUMPATdocReturns a count of unique pattern subscriptions.1.0.02.8.0
PUBSUB NUMSUBdocReturns a count of subscribers to channels.1.0.02.8.0
PUBSUB SHARDCHANNELSdocReturns the active shard channels.1.0.07.0.0
PUBSUB SHARDNUMSUBdocReturns the count of subscribers of shard channels.1.0.07.0.0
PUNSUBSCRIBEdocStops listening to messages published to channels that match one or more patterns.1.0.02.0.0
QUITdocCloses the connection.1.0.01.0.0
RANDOMKEYdocReturns a random key name from the database.1.0.01.0.0
READONLYdocEnables read-only queries for a connection to a Valkey replica node.1.0.03.0.0
READWRITEdocEnables read-write queries for a connection to a Valkey replica node.1.0.03.0.0
RENAMEdocRenames a key and overwrites the destination.1.0.01.0.0
RENAMENXdocRenames a key only when the target key name doesn't exist.1.0.01.0.0
REPLCONFdocAn internal command for configuring the replication stream.1.0.03.0.0
REPLICAOFdocConfigures a server as replica of another, or promotes it to a primary.1.0.05.0.0
RESETdocResets the connection.1.0.06.2.0
RESTOREdocCreates a key from the serialized representation of a value.1.0.02.6.0
RESTORE ASKINGdocAn internal command for migrating keys in a cluster.1.0.03.0.0
ROLEdocReturns the replication role.1.0.02.8.12
RPOPdocReturns and removes the last elements of a list. Deletes the list if the last element was popped.1.0.01.0.0
RPOPLPUSHdocReturns the last element of a list after removing and pushing it to another list. Deletes the list if the last element was popped.1.0.01.2.0
RPUSHdocAppends one or more elements to a list. Creates the key if it doesn't exist.1.0.01.0.0
RPUSHXdocAppends an element to a list only when the list exists.1.0.02.2.0
SADDdocAdds one or more members to a set. Creates the key if it doesn't exist.1.0.01.0.0
SAVEdocSynchronously saves the database(s) to disk.1.0.01.0.0
SCANdocIterates over the key names in the database.1.0.02.8.0
SCARDdocReturns the number of members in a set.1.0.01.0.0
SCRIPTdocA container for Lua scripts management commands.1.0.02.6.0
SCRIPT DEBUGdocSets the debug mode of server-side Lua scripts.1.0.03.2.0
SCRIPT EXISTSdocDetermines whether server-side Lua scripts exist in the script cache.1.0.02.6.0
SCRIPT FLUSHdocRemoves all server-side Lua scripts from the script cache.1.0.02.6.0
SCRIPT HELPdocReturns helpful text about the different subcommands.1.0.05.0.0
SCRIPT KILLdocTerminates a server-side Lua script during execution.1.0.02.6.0
SCRIPT LOADdocLoads a server-side Lua script to the script cache.1.0.02.6.0
SCRIPT SHOWdocShow server-side Lua script in the script cache.1.0.08.0.0
SDIFFdocReturns the difference of multiple sets.1.0.01.0.0
SDIFFSTOREdocStores the difference of multiple sets in a key.1.0.01.0.0
SELECTdocChanges the selected database.1.0.01.0.0
SENTINELdocA container for Sentinel commands.1.0.02.8.4
SENTINEL CKQUORUMdocChecks for a Sentinel quorum.1.0.02.8.4
SENTINEL CONFIGdocConfigures Sentinel.1.0.06.2.0
SENTINEL DEBUGdocLists or updates the current configurable parameters of Sentinel.1.0.07.0.0
SENTINEL FAILOVERdocForces a Sentinel failover.1.0.02.8.4
SENTINEL FLUSHCONFIGdocRewrites the Sentinel configuration file.1.0.02.8.4
SENTINEL GET MASTER ADDR BY NAMEdocReturns the port and address of a primary instance.1.0.02.8.4
SENTINEL GET PRIMARY ADDR BY NAMEdocReturns the port and address of a primary instance.1.0.08.0.0
SENTINEL HELPdocReturns helpful text about the different subcommands.1.0.06.2.0
SENTINEL INFO CACHEdocReturns the cached INFO replies from the deployment's instances.1.0.03.2.0
SENTINEL IS MASTER DOWN BY ADDRdocDetermines whether a primary instance is down.1.0.02.8.4
SENTINEL IS PRIMARY DOWN BY ADDRdocDetermines whether a primary instance is down.1.0.08.0.0
SENTINEL MASTERdocReturns the state of a primary instance.1.0.02.8.4
SENTINEL MASTERSdocReturns a list of monitored primaries.1.0.02.8.4
SENTINEL MONITORdocStarts monitoring.1.0.02.8.4
SENTINEL MYIDdocReturns the Sentinel instance ID.1.0.06.2.0
SENTINEL PENDING SCRIPTSdocReturns information about pending scripts for Sentinel.1.0.02.8.4
SENTINEL PRIMARIESdocReturns a list of monitored primaries.1.0.08.0.0
SENTINEL PRIMARYdocReturns the state of a primary instance.1.0.08.0.0
SENTINEL REMOVEdocStops monitoring.1.0.02.8.4
SENTINEL REPLICASdocReturns a list of the monitored replicas.1.0.05.0.0
SENTINEL RESETdocResets primaries by name matching a pattern.1.0.02.8.4
SENTINEL SENTINELSdocReturns a list of Sentinel instances.1.0.02.8.4
SENTINEL SETdocChanges the configuration of a monitored primary.1.0.02.8.4
SENTINEL SIMULATE FAILUREdocSimulates failover scenarios.1.0.03.2.0
SENTINEL SLAVESdocReturns a list of the monitored replicas.1.0.02.8.0
SETdocSets the string value of a key, ignoring its type. The key is created if it doesn't exist.1.0.01.0.0
SETBITdocSets or clears the bit at offset of the string value. Creates the key if it doesn't exist.1.0.02.2.0
SETEXdocSets the string value and expiration time of a key. Creates the key if it doesn't exist.1.0.02.0.0
SETNXdocSet the string value of a key only when the key doesn't exist.1.0.01.0.0
SETRANGEdocOverwrites a part of a string value with another by an offset. Creates the key if it doesn't exist.1.0.02.2.0
SHUTDOWNdocSynchronously saves the database(s) to disk and shuts down the server.1.0.01.0.0
SINTERdocReturns the intersect of multiple sets.1.0.01.0.0
SINTERCARDdocReturns the number of members of the intersect of multiple sets.1.0.07.0.0
SINTERSTOREdocStores the intersect of multiple sets in a key.1.0.01.0.0
SISMEMBERdocDetermines whether a member belongs to a set.1.0.01.0.0
SLAVEOFdocSets a server as a replica of another, or promotes it to being a primary.1.0.01.0.0
SLOWLOGdocA container for slow log commands.1.0.02.2.12
SLOWLOG GETdocReturns the slow log's entries.1.0.02.2.12
SLOWLOG HELPdocShow helpful text about the different subcommands1.0.06.2.0
SLOWLOG LENdocReturns the number of entries in the slow log.1.0.02.2.12
SLOWLOG RESETdocClears all entries from the slow log.1.0.02.2.12
SMEMBERSdocReturns all members of a set.1.0.01.0.0
SMISMEMBERdocDetermines whether multiple members belong to a set.1.0.06.2.0
SMOVEdocMoves a member from one set to another.1.0.01.0.0
SORTdocSorts the elements in a list, a set, or a sorted set, optionally storing the result.1.0.01.0.0
SORT_ROdocReturns the sorted elements of a list, a set, or a sorted set.1.0.07.0.0
SPOPdocReturns one or more random members from a set after removing them. Deletes the set if the last member was popped.1.0.01.0.0
SPUBLISHdocPost a message to a shard channel1.0.07.0.0
SRANDMEMBERdocGet one or multiple random members from a set1.0.01.0.0
SREMdocRemoves one or more members from a set. Deletes the set if the last member was removed.1.0.01.0.0
SSCANdocIterates over members of a set.1.0.02.8.0
SSUBSCRIBEdocListens for messages published to shard channels.1.0.07.0.0
STRLENdocReturns the length of a string value.1.0.02.2.0
SUBSCRIBEdocListens for messages published to channels.1.0.02.0.0
SUBSTRdocReturns a substring from a string value.1.0.01.0.0
SUNIONdocReturns the union of multiple sets.1.0.01.0.0
SUNIONSTOREdocStores the union of multiple sets in a key.1.0.01.0.0
SUNSUBSCRIBEdocStops listening to messages posted to shard channels.1.0.07.0.0
SWAPDBdocSwaps two databases.1.0.04.0.0
SYNCdocAn internal command used in replication.1.0.01.0.0
TIMEdocReturns the server time.1.0.02.6.0
TOUCHdocReturns the number of existing keys out of those specified after updating the time they were last accessed.1.0.03.2.1
TTLdocReturns the expiration time in seconds of a key.1.0.01.0.0
TYPEdocDetermines the type of value stored at a key.1.0.01.0.0
UNLINKdocAsynchronously deletes one or more keys.1.0.04.0.0
UNSUBSCRIBEdocStops listening to messages posted to channels.1.0.02.0.0
UNWATCHdocForgets about watched keys of a transaction.1.0.02.2.0
WAITdocBlocks until the asynchronous replication of all preceding write commands sent by the connection is completed.1.0.03.0.0
WAITAOFdocBlocks until all of the preceding write commands sent by the connection are written to the append-only file of the primary and/or replicas.1.0.07.2.0
WATCHdocMonitors changes to keys to determine the execution of a transaction.1.0.02.2.0
XACKdocReturns the number of messages that were successfully acknowledged by the consumer group member of a stream.1.0.05.0.0
XADDdocAppends a new message to a stream. Creates the key if it doesn't exist.1.0.05.0.0
XAUTOCLAIMdocChanges, or acquires, ownership of messages in a consumer group, as if the messages were delivered to as consumer group member.1.0.06.2.0
XCLAIMdocChanges, or acquires, ownership of a message in a consumer group, as if the message was delivered a consumer group member.1.0.05.0.0
XDELdocReturns the number of messages after removing them from a stream.1.0.05.0.0
XGROUPdocA container for consumer groups commands.1.0.05.0.0
XGROUP CREATEdocCreates a consumer group.1.0.05.0.0
XGROUP CREATECONSUMERdocCreates a consumer in a consumer group.1.0.06.2.0
XGROUP DELCONSUMERdocDeletes a consumer from a consumer group.1.0.05.0.0
XGROUP DESTROYdocDestroys a consumer group.1.0.05.0.0
XGROUP HELPdocReturns helpful text about the different subcommands.1.0.05.0.0
XGROUP SETIDdocSets the last-delivered ID of a consumer group.1.0.05.0.0
XINFOdocA container for stream introspection commands.1.0.05.0.0
XINFO CONSUMERSdocReturns a list of the consumers in a consumer group.1.0.05.0.0
XINFO GROUPSdocReturns a list of the consumer groups of a stream.1.0.05.0.0
XINFO HELPdocReturns helpful text about the different subcommands.1.0.05.0.0
XINFO STREAMdocReturns information about a stream.1.0.05.0.0
XLENdocReturn the number of messages in a stream.1.0.05.0.0
XPENDINGdocReturns the information and entries from a stream consumer group's pending entries list.1.0.05.0.0
XRANGEdocReturns the messages from a stream within a range of IDs.1.0.05.0.0
XREADdocReturns messages from multiple streams with IDs greater than the ones requested. Blocks until a message is available otherwise.1.0.05.0.0
XREADGROUPdocReturns new or historical messages from a stream for a consumer in a group. Blocks until a message is available otherwise.1.0.05.0.0
XREVRANGEdocReturns the messages from a stream within a range of IDs in reverse order.1.0.05.0.0
XSETIDdocAn internal command for replicating stream values.1.0.05.0.0
XTRIMdocDeletes messages from the beginning of a stream.1.0.05.0.0
ZADDdocAdds one or more members to a sorted set, or updates their scores. Creates the key if it doesn't exist.1.0.01.2.0
ZCARDdocReturns the number of members in a sorted set.1.0.01.2.0
ZCOUNTdocReturns the count of members in a sorted set that have scores within a range.1.0.02.0.0
ZDIFFdocReturns the difference between multiple sorted sets.1.0.06.2.0
ZDIFFSTOREdocStores the difference of multiple sorted sets in a key.1.0.06.2.0
ZINCRBYdocIncrements the score of a member in a sorted set.1.0.01.2.0
ZINTERdocReturns the intersect of multiple sorted sets.1.0.06.2.0
ZINTERCARDdocReturns the number of members of the intersect of multiple sorted sets.1.0.07.0.0
ZINTERSTOREdocStores the intersect of multiple sorted sets in a key.1.0.02.0.0
ZLEXCOUNTdocReturns the number of members in a sorted set within a lexicographical range.1.0.02.8.9
ZMPOPdocReturns 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.1.0.07.0.0
ZMSCOREdocReturns the score of one or more members in a sorted set.1.0.06.2.0
ZPOPMAXdocReturns the highest-scoring members from a sorted set after removing them. Deletes the sorted set if the last member was popped.1.0.05.0.0
ZPOPMINdocReturns the lowest-scoring members from a sorted set after removing them. Deletes the sorted set if the last member was popped.1.0.05.0.0
ZRANDMEMBERdocReturns one or more random members from a sorted set.1.0.06.2.0
ZRANGEdocReturns members in a sorted set within a range of indexes.1.0.01.2.0
ZRANGEBYLEXdocReturns members in a sorted set within a lexicographical range.1.0.02.8.9
ZRANGEBYSCOREdocReturns members in a sorted set within a range of scores.1.0.01.0.5
ZRANGESTOREdocStores a range of members from sorted set in a key.1.0.06.2.0
ZRANKdocReturns the index of a member in a sorted set ordered by ascending scores.1.0.02.0.0
ZREMdocRemoves one or more members from a sorted set. Deletes the sorted set if all members were removed.1.0.01.2.0
ZREMRANGEBYLEXdocRemoves members in a sorted set within a lexicographical range. Deletes the sorted set if all members were removed.1.0.02.8.9
ZREMRANGEBYRANKdocRemoves members in a sorted set within a range of indexes. Deletes the sorted set if all members were removed.1.0.02.0.0
ZREMRANGEBYSCOREdocRemoves members in a sorted set within a range of scores. Deletes the sorted set if all members were removed.1.0.01.2.0
ZREVRANGEdocReturns members in a sorted set within a range of indexes in reverse order.1.0.01.2.0
ZREVRANGEBYLEXdocReturns members in a sorted set within a lexicographical range in reverse order.1.0.02.8.9
ZREVRANGEBYSCOREdocReturns members in a sorted set within a range of scores in reverse order.1.0.02.2.0
ZREVRANKdocReturns the index of a member in a sorted set ordered by descending scores.1.0.02.0.0
ZSCANdocIterates over members and scores of a sorted set.1.0.02.8.0
ZSCOREdocReturns the score of a member in a sorted set.1.0.01.2.0
ZUNIONdocReturns the union of multiple sorted sets.1.0.06.2.0
ZUNIONSTOREdocStores the union of multiple sorted sets in a key.1.0.02.0.0