Skip to main content

Supported commands

String commands

CommandSupported OR NotSince VersionDescription
APPENDv1.0.0Appends a value to a key's existing string value.
DECRv1.0.0Decrements the number stored at a key by one.
DECRBYv1.0.0Decrements the number stored at a key by a specified value.
GETv1.0.0Retrieves the value of a key.
GETEXv2.2.0Retrieves and optionally sets a new expiration for the value of a key.
GETRANGEv1.0.0Retrieves a substring from the string stored at a key.
SUBSTRv2.4.0Returns a substring of the value stored at a key (alias for GETRANGE).
GETSETv1.0.0Sets the value of a key and returns its old value.
INCRv1.0.0Increments the number stored at a key by one.
INCRBYv1.0.0Increments the number stored at a key by a specified value.
INCRBYFLOATv1.0.0Increments the number stored at a key by a floating-point value.
MGETv1.0.0Retrieves the values of multiple keys.
MSETv1.0.0Sets multiple keys to multiple values.
MSETNXv1.3.0Sets multiple keys to multiple values only if none of the keys exist.
PSETEXv1.3.0Sets the value of a key and sets its expiration time in milliseconds. (precision is in seconds if old encoding is used (see #1033))
SETv1.0.0Sets the value of a key. (supported KEEPTTL and GET options since v2.8.0)
SETEXv1.0.0Sets the value of a key and sets its expiration time in seconds.
SETNXv1.0.0Sets the value of a key only if the key does not already exist.
SETRANGEv1.0.0Overwrites part of a string at key starting at the specified offset.
STRLENv1.0.0Returns the length of the string value stored at a key.
CASv2.0.5Performs a Compare-And-Swap operation, updating a value only if it matches an expected value. (see #415)
CADv2.0.5Executes a Compare-And-Delete operation, deleting a key only if it matches an expected value. (see #415)
GETDELv2.2.0Retrieves the value of a key and deletes the key afterward.
LCSv2.9.0Finds the longest common substring between the string stored at a key and another string.

Hash commands

CommandSupported OR NotSince VersionDescription
HDELv1.0.0Deletes one or more fields from a hash.
HEXISTSv1.0.0Checks if a field exists in a hash.
HGETv1.0.0Retrieves the value associated with a field in a hash.
HGETALLv1.0.0Retrieves all fields and values in a hash.
HINCRBYv1.0.0Increments the integer value of a field in a hash by a specified amount.
HINCRBYFLOATv1.0.0Increments the floating-point value of a field in a hash by a specified amount.
HKEYSv1.0.0Retrieves all the fields in a hash.
HLENv1.0.0Returns the number of fields in a hash.
HMGETv1.0.0Retrieves the values associated with multiple fields in a hash.
HMSETv1.0.0Sets multiple fields in a hash to multiple values.
HRANGEBYLEXv2.3.0Returns elements in a sorted set within a specific range defined by lexicographical ordering.
HSETv1.0.0Sets the value of a field in a hash.
HSETNXv1.0.0
HSTRLENv1.0.0
HVALSv1.0.0
HSCANv1.0.0
HRANDFIELDv2.6.0

List commands

CommandSupported OR NotSince VersionDesc
BLPOPv1.0.0Removes and returns the first element of a list, or blocks until one is available.
BRPOPv1.0.0Removes and returns the last element of a list, or blocks until one is available.
BRPOPLPUSH𐄂-Pops the last element from a list, pushes it to another list, and returns it; blocks until an element is available.(DEPRECATED)
LINDEXv1.0.0Returns the element at a specified index in a list. (O(N) operation, do not use it when the list is too long)
LINSERTv1.0.0Inserts an element before or after another element in a list. (O(N) operation, do not use it when the list is too long)
LLENv1.0.0Returns the length of a list.
LPOPv1.0.0Removes and returns the first element of a list.
LPUSHv1.0.0Inserts one or more elements at the head of a list.
LPUSHXv1.0.0Inserts an element at the head of a list, only if the list exists.
LRANGEv1.0.0Returns a range of elements from a list.
LREMv1.0.0Removes elements from a list that match a specified value. (O(N) operation, do not use it when the list is too long)
LSETv1.0.0Sets the value of an element in a list by its index.
LTRIMv1.0.0Trims a list to the specified range of elements. (O(N) operation, do not use it when the list is too long)
RPOPv1.0.0Removes and returns the last element of a list.
RPOPLPUSHv1.0.0Removes the last element from a list and pushes it onto another list.
RPUSHv1.0.0Inserts one or more elements at the tail of a list.
RPUSHXv1.0.0Inserts an element at the tail of a list, only if the list exists.
LMOVEv2.1.0Atomically transfers the first/last element of a list to the first/last element of another list.
BLMOVEv2.6.0Blocks and then atomically transfers the first/last element of a list to the first/last element of another list.
LPOSv2.6.0Returns the index of the first matching element in a list.
LMPOPv2.6.0Removes and returns the first or last element(s) of a list.
BLMPOPv2.7.0Blocks and then removes and returns the first or last element(s) of a list.

Set commands

CommandSupported OR NotSince VersionDesc
SADDv1.0.0Adds one or more members to a set.
SCARDv1.0.0Returns the number of members in a set.
SDIFFv1.0.0Returns the difference between sets.
SDIFFSTOREv1.0.0Stores the difference between sets in a destination set.
SINTERv1.0.0Returns the intersection of sets.
SINTERCARDv2.5.0Returns the cardinality (number of elements) in the intersection of sets.
SINTERSTOREv1.0.0Computes the intersection of multiple sets and stores the result in a destination set.
SISMEMBERv1.0.0Checks if a member is part of a set.
SMEMBERSv1.0.0Returns all the members in a set.
SMOVEv1.0.0Moves a member from one set to another.
SPOPv1.0.0Pop members in the order of keys
SRANDMEMBERv1.0.0Returns one or more random members from a set without removing them. (always first N members if not changed)
SREMv1.0.0Removes one or more members from a set.
SUNIONv1.0.0Returns the union of multiple sets.
SUNIONSTOREv1.0.0Computes the union of multiple sets and stores the result in a destination set.
SSCANv1.0.0Incrementally iterates over members of a set.

ZSet commands

CommandSupported OR NotSince VersionDescription
BZMPOPv2.5.0Blocks until one or more elements are popped from one or more sorted sets.
BZPOPMINv2.5.0Blocks until the element with the lowest score is popped from one or more sorted sets.
BZPOPMAXv2.5.0Blocks until the element with the highest score is popped from one or more sorted sets.
ZADDv1.0.0Adds one or more members to a sorted set, or updates the score of existing members.
ZCARDv1.0.0Returns the number of members in a sorted set.
ZCOUNTv1.0.0Counts the members in a sorted set with scores within a given range.
ZINCRBYv1.0.0Increments the score of a member in a sorted set.
ZINTERSTOREv1.0.0Computes the intersection of multiple sorted sets and stores the result in a destination sorted set.
ZLEXCOUNTv1.0.0Counts the members in a sorted set within a given lexicographical range.
ZMPOPv2.5.0Removes and returns one or more members with the lowest or highest scores from one or more sorted sets.
ZMSCOREv1.1.20Returns the scores of one or more members in a sorted set. (multi ZSCORE)
ZPOPMINv1.0.0Removes and returns the member with the lowest score in a sorted set.
ZPOPMAXv1.0.0Removes and returns the member with the highest score in a sorted set.
ZRANGESTOREv2.5.0Stores a range of members from a sorted set into another sorted set.
ZRANGEv1.0.0Returns a range of members in a sorted set, by index.
ZRANGEBYLEXv1.0.0Returns a range of members in a sorted set, by lexicographical range.
ZRANGEBYSCOREv1.0.0Returns a range of members in a sorted set, by score.
ZRANKv1.0.0Determines the index of a member in a sorted set, based on score.
ZREMv1.0.0Removes one or more members from a sorted set.
ZREMRANGEBYLEXv1.0.0Removes all members in a sorted set within the given lexicographical range.
ZREMRANGEBYRANKv1.0.0Removes all members in a sorted set within the given index range.
ZREMRANGEBYSCOREv1.0.0Removes all members in a sorted set within the given score range.
ZREVRANKv1.0.0Determines the index of a member in a sorted set, in reverse order, based on score.
ZREVRANGEv1.0.0Returns a range of members in a sorted set, in reverse order, by index.
ZREVRANGEBYLEXv2.0.5Returns a range of members in a sorted set, in reverse order, by lexicographical range.
ZREVRANGEBYSCOREv1.0.0Returns a range of members in a sorted set, in reverse order, by score.
ZSCANv1.0.0Incrementally iterates over elements in a sorted set.
ZSCOREv1.0.0Returns the score of a member in a sorted set.
ZUNIONv2.5.0Returns the union of multiple sorted sets.
ZUNIONSTOREv1.0.0Computes the union of multiple sorted sets and stores the result in a destination sorted set.
ZINTERv2.8.0Returns the intersection of multiple sorted sets.
ZINTERCARDv2.8.0Computes the cardinality (number of elements) in the intersection of multiple sorted sets.
ZRANDMEMBERv2.8.0Returns one or more random members from a sorted set.

Key commands

CommandSupported OR NotSince VersionDesc
DELv1.0.0Deletes one or more keys.
EXISTSv1.0.0Checks if a key exists.
EXPIREv1.0.0Sets a key's time to live in seconds.
EXPIREATv1.0.0Sets a key's time to live based on a Unix timestamp.
EXPIRETIMEv2.8.0Returns the expiration Unix timestamp of a key.
PEXPIRETIMEv2.8.0Returns the expiration Unix timestamp of a key in milliseconds.
KEYSv1.0.0Returns all keys matching a pattern.
PERSISTv1.0.0Removes the expiration from a key.
PEXPIREv1.0.0Sets a key's time to live in milliseconds. (Precision is in seconds if old encoding is used (see #1033))
PEXPIREATv1.0.0Sets a key's time to live based on a Unix timestamp in milliseconds. (Precision is in seconds if old encoding is used (see #1033))
PTTLv1.0.0Returns the remaining time to live of a key in milliseconds. (precision is in seconds if old encoding is used (see #1033))
TTLv1.0.0Returns the remaining time to live of a key in seconds.
TYPEv1.0.0Returns the data type of the value stored at a key.
SCANv1.0.0Incrementally iterates over keys in the keyspace.
RENAMEv2.8.0Renames a key.
RENAMENXv2.8.0Renames a key only if the new key does not exist.
RANDOMKEYv1.0.0Returns a random key from the keyspace.
UNLINKv2.1.0Asynchronously deletes a key (non-blocking).
MOVEv2.6.0Moves a key to another database. (If the key does not exist, the command returns 0, otherwise it will always return 1)
MOVEXv2.9.0Move a key between namespaces, see #2225
COPYv2.9.0Copies a key to a new key.
SORTv2.9.0Sorts the elements in a list, set, or sorted set.

Bit commands

CommandSupported OR NotSince VersionDescription
GETBITv1.0.0Returns the bit value at a specified offset in the string stored at a key.
SETBITv1.0.0Sets or clears the bit at a specified offset in the string stored at a key.
BITCOUNTv1.0.0Counts the number of set bits (1s) in a string.
BITPOSv1.0.0Returns the position of the first bit set to 1 or 0 in a string.
BITFIELDv2.7.0Performs arbitrary bitfield operations on string values.
BITFIELD_ROv2.8.0Reads the values of specific bit fields in a string without modifying them (read-only variant of BITFIELD).
BITOPv2.1.0Performs bitwise operations (AND, OR, XOR, NOT) on multiple keys containing string values and stores the result in a destination key.
note

String and bitmap are different types in Kvrocks, so you cannot do bit operations with string, and vice versa.

Script commands

CommandSupported OR NotSince VersionDescription
EVALv2.0.4Executes a Lua script server-side, accepting keys and arguments as parameters.
EVALSHAv2.0.4Executes a Lua script using its SHA1 hash, which is useful when the script is already cached on the server.
EVAL_ROv2.2.0Executes a Lua script server-side in read-only mode, allowing it in replica instances (similar to EVAL, but read-only).
EVALSHA_ROv2.2.0Executes a Lua script in read-only mode using its SHA1 hash (similar to EVALSHA, but read-only).
SCRIPTv2.0.4Manages the Redis script cache, with subcommands for loading, flushing, and checking for script existence. (SCRIPT KILL and DEBUG subcommand are not supported)

PubSub commands

CommandSupported OR NotSince VersionDescription
PSUBSCRIBEv1.0.0Subscribes to channels using pattern matching. Receives messages sent to channels that match the pattern.
PUBLISHv1.0.0Sends a message to a specific channel.
MPUBLISHv2.6.0Publishes messages to multiple channels at once.
PUBSUBv1.0.0Provides information about the current Pub/Sub system, including channels and subscriptions.
PUNSUBSCRIBEv1.0.0Unsubscribes from channels using pattern matching, stopping the receipt of messages.
SUBSCRIBEv1.0.0Subscribes to a specific channel to receive messages sent to that channel.
UNSUBSCRIBEv1.0.0Unsubscribes from one or more channels, stopping the receipt of messages.
SSUBSCRIBEv2.8.0Subscribes the client to the specified shard channels.
SUNSUBSCRIBEv2.8.0Unsubscribes the client from the specified shard channels.

Transaction commands

CommandSupported OR NotSince VersionDescription
MULTIv2.0.2Marks the start of a transaction block in Redis.
EXECv2.0.2Executes all commands issued after a MULTI command in a transaction.
DISCARDv2.0.2Cancels a transaction block, discarding all queued commands.
WATCHv2.4.0Watches one or more keys for changes, allowing for conditional transactions.
UNWATCHv2.4.0Cancels the effect of all WATCH commands, making the transaction unconditional.

SortedInt commands

CommandSupported OR NotSince VersionDescription
SICARDv1.0.2Returns the number of elements in a sorted integer set. (similar to SCARD)
SIADDv1.0.2Adds one or more integers to a sorted integer set. (like SADD, but members are integers)
SIREMv1.0.2Removes one or more integers from a sorted integer set. (like SREM, but members are integers)
SIRANGEv1.0.2Returns a range of elements from a sorted integer set by index.
(SIRANGE key offset count cursor since_id)
SIREVRANGEv1.0.2Returns a range of elements from a sorted integer set by index, in reverse order. (SIREVRANGE key offset count cursor max_id)
SIEXISTSv1.1.20Checks if an integer exists in a sorted integer set. (SIEXISTS key member1 [member2 ...])
SIRANGEBYVALUEv1.1.31Returns elements in a sorted integer set within a specified range of values. (SIRANGEBYVALUE key min max [LIMIT offset count])
SIREVRANGEBYVALUEv1.1.31Returns elements in a sorted integer set within a specified range of values, in reverse order. (SIREVRANGEBYVALUE key max min [LIMIT offset count])

Cluster commands

SUBCOMMANDSupported OR NotSince VersionDescription
CLUSTERv2.0.2Provides a range of subcommands to manage and query a Redis Cluster.
CLUSTERXv2.0.2A specialized command set used for managing cluster topology in a controlled manner.
READONLYv2.9.0In a Redis Cluster, marks the client as read-only, allowing it to read data from replicas.
READWRITEv2.9.0Resets the client from read-only mode back to the default read-write mode.
ASKINGv2.9.0Used during a manual resharding process to indicate that the client should accept redirection to a new master node without changing its hash slot mapping.

CLUSTER subcommands

These commands are subcommands for CLUSTER, using as CLUSTER INFO etc.

SUBCOMMANDSupported OR NotSince VersionDescription
INFOv2.0.2Provides information about the state of the cluster.
NODESv2.0.2Returns the current nodes and their status in the cluster.
SLOTSv2.0.2Lists all slots and their associated nodes.
KEYSLOTv2.0.2Returns the hash slot for a given key.
RESETv2.9.0Resets a node's cluster state, making it forget its cluster configuration.
REPLICASv2.9.0Lists the replicas for a specific node in the cluster.

CLUSTERX subcommands

These commands are subcommands for CLUSTERX, using as CLUSTERX VERSION etc.

SUBCOMMANDSupported OR NotSince VersionDescription
VERSIONv2.0.2Displays the version of the CLUSTERX command set or protocol.
SETNODEIDv2.0.2Sets or updates the node ID in the cluster configuration.
SETNODESv2.0.2Configures the nodes in the cluster, often used for initializing or changing the cluster's topology.
SETSLOTv2.0.6Manages slot assignments, moving slots between nodes.
MIGRATEv2.0.6
note

To guarantee the correctness of client SDK, we rename the CLUSTER command to CLUSTERX to prevent the topology can being modified casually, but we can still use the CLUSTER command to fetch the cluster topology information.

Server commands

CommandSupported OR NotSince VersionDescription
BGSAVEv1.0.0Initiates a background save of the dataset to disk.
LASTSAVEv2.6.0Returns the Unix timestamp of the last successful save to disk.
PINGv1.0.0Checks if the server is alive, responding with "PONG."
SELECTv1.0.0simply returns OK.
ECHOv2.0.6Echoes back the input string, useful for testing.
MONITORv1.0.0Streams every command processed by the server in real time.
SHUTDOWNv1.0.0Stops the server, optionally saving the dataset to disk.
INFOv1.0.0Provides detailed information about the server.
ROLEv1.1.30Displays the role of the instance (master, slave, etc.)
CONFIGv1.0.0Manages the server's configuration parameters.
DBSIZEv1.0.0Returns the number of keys in the currently selected database.
DISKv2.2.0DISK USAGE user_key to get the disk usage of the user_key, see #874
MEMORYv2.4.0MEMORY USAGE command is an alias to DISK USAGE command.
DEBUGv1.3.0A collection of debugging commands for developers and administrators. (Only DEBUG SLEEP is supported.)
NAMESPACEv1.0.0Used to manage namespaces.
FLUSHDBv1.0.0Removes all keys from the currently selected database.
FLUSHALLv1.0.0Removes all keys from all databases.
FLUSHBACKUPv1.3.1Flushes backup data.
COMMANDv2.0.1Returns details about available commands.
CLIENTv1.0.0Manages client connections and their settings.
AUTHv1.0.0Authenticates a client to the server with a password.
QUITv1.0.0Closes the connection with the server.
SLAVEOFv1.0.0Configures the server to replicate from a specified master.
SLOWLOGv1.0.0Manages and retrieves the slow query log.
PERFLOGv1.0.0Manages performance logging.
HELLOv2.2.0Negotiates the protocol version with the server.
TIMEv2.4.0Returns the current server time as a Unix timestamp and microseconds.
STATSv1.0.0Dump the RocksDB statistics in JSON format.
RESTOREv2.6.0Create the new key with Redis serialized value, now supports String/List/Hash/Set/ZSet data types
COMPACTv1.0.0Compacts database storage. (RocksDB)
RDBv2.7.0RDB LOAD command is used to load RocksDB file from local path into Kvrocks
DUMPv2.9.0Serializes a key and returns it to the client.
note

The db size is updated async after execute DBSIZE SCAN command.

GEO commands

CommandSupported OR NotSince VersionDescription
GEOADDv1.1.12Adds geospatial items (latitude, longitude, and member) to a geospatial index (a sorted set).
GEODISTv1.1.12Returns the distance between two members of a geospatial index.
GEOHASHv1.1.12Returns the Geohash representation of one or more members in a geospatial index.
GEOPOSv1.1.12Returns the longitude and latitude of one or more members in a geospatial index.
GEORADIUSv1.1.12Returns members of a geospatial index within a radius around a given point.
GEORADIUS_rov1.1.12A read-only variant of GEORADIUS, for use with read replicas.
GEORADIUSBYMEMBERv1.1.12Returns members of a geospatial index within a radius around a member's location.
GEORADIUSBYMEMBER_rov1.1.12A read-only variant of GEORADIUSBYMEMBER, for use with read replicas.
GEOSEARCHv2.6.0Performs more complex geospatial searches, supporting multiple criteria like bounding boxes and ordering by distance.
GEOSEARCHSTOREv2.6.0Stores the result of a GEOSEARCH query in a new key.

Stream commands

CommandSupported OR NotSince VersionDescription
XADDv2.2.0Appends a new entry to a stream.
XDELv2.2.0Removes one or more entries from a stream by ID.
XINFOv2.2.0Provides information about STREAM only.
XLENv2.2.0Returns the number of entries in a stream.
XRANGEv2.2.0Returns a range of entries from a stream, within a specified ID range.
XREADv2.2.0Reads entries from one or more streams.
XREVRANGEv2.2.0Returns a range of entries from a stream in reverse order.
XTRIMv2.2.0Trims a stream to a specified number of entries or to a maximum ID.
XCLAIMv2.10.0Changes the ownership of pending stream entries to a different consumer.
XAUTOCLAIMv2.10.0Automatically claims pending entries in a stream, returning them to a consumer.
XGROUPv2.10.0Manages consumer groups for streams.
XPENDINGv2.10.0Shows information about pending entries in a stream for a specific consumer group.
XREADGROUPv2.10.0Reads entries from a stream as part of a consumer group.
XACKv2.10.0Acknowledges the processing of one or more entries in a stream.
XSETIDv2.3.0Sets the last delivered ID of a stream to a specific value.

BloomFilter commands

CommandSupported OR NotSince VersionDescription
BF.RESERVEv2.6.0Creates a new Bloom filter with specified parameters.
BF.ADDv2.6.0Adds an item to a Bloom filter.
BF.EXISTSv2.6.0Checks if an item may exist in the Bloom filter.
BF.CARDv2.6.0Returns the number of unique elements that were added to the filter.
BF.INFOv2.6.0Returns information about the Bloom filter's configuration and status.
BF.MADDv2.6.0Adds multiple items to a Bloom filter.
BF.INSERTv2.7.0Adds one or more items to a Bloom filter, with the option to create a filter if it doesn't exist.
BF.MEXISTSv2.6.0Checks if multiple items may exist in the Bloom filter.

Function commands

CommandSupported OR NotSince VersionDescription
FUNCTIONv2.7.0Manages functions in Redis, including loading, listing, and deleting functions.
FCALLv2.7.0Calls a function by its name with specified arguments, allowing for custom script execution.
FCALL_ROv2.7.0Calls a read-only function, ensuring it does not modify data, suitable for use in replicas.
note

Currently only LOAD, DELETE, LIST subcommands are supported in FUNCTION. In addition, LISTFUNC subcommand is added as an extension to list all functions and their libraries in which they are located.

JSON commands

CommandSupported OR NotSince VersionDescription
JSON.ARRAPPENDv2.7.0Appends elements to a JSON array.
JSON.ARRINDEXv2.7.0Searches for the first occurrence of a value in a JSON array.
JSON.ARRINSERTv2.7.0Inserts an element into a JSON array at a specified index.
JSON.ARRLENv2.7.0Returns the length of a JSON array.
JSON.ARRPOPv2.7.0Removes and returns an element from a JSON array by index.
JSON.ARRTRIMv2.7.0Trims a JSON array to the specified range.
JSON.CLEARv2.7.0Clears the contents of a JSON object or array, leaving it empty.
JSON.DELv2.7.0Deletes a JSON value.
JSON.FORGETv2.7.0Alias for JSON.DEL, removes a JSON key.
JSON.GETv2.7.0Retrieves a JSON value by key.
JSON.MERGEv2.7.0Merges two JSON documents into one.
JSON.MGETv2.8.0Retrieves JSON values from multiple keys.
JSON.MSETv2.9.0Sets JSON values at multiple keys.
JSON.NUMINCRBYv2.7.0Increments a numeric value in a JSON document.
JSON.NUMMULTBYv2.7.0Multiplies a numeric value in a JSON document.
JSON.OBJKEYSv2.7.0Returns the keys in a JSON object.
JSON.OBJLENv2.7.0Returns the number of keys in a JSON object.
JSON.RESPv2.10.0Converts a JSON value to RESP (Redis Serialization Protocol) format.
JSON.SETv2.7.0Sets the value of a JSON key.
JSON.STRAPPENDv2.7.0Appends a string to a value in a JSON document.
JSON.STRLENv2.7.0Returns the length of a string in a JSON document.
JSON.TOGGLEv2.7.0Toggles a boolean value in a JSON document.
JSON.TYPEv2.7.0Returns the type of a JSON value (e.g., object, array, string).
JSON.DEBUGv2.9.0Provides debugging information about a JSON value. (supported subcommands: MEMORY)

Search commands

CommandSupported OR NotSince VersionDescription
FT.CREATEunstableCreates a new full-text search index.
FT.DROPINDEXunstableDeletes a full-text search index.
FT.INFOunstableProvides information about a full-text search index.
FT._LISTunstableLists all available full-text search indexes.
FT.SEARCHunstableSearches a full-text index for documents matching a query.
FT.SEARCHSQLunstableExtension for SQL queries: FT.SEARCHSQL <sql>
FT.EXPLAINunstableExplains how a full-text search query is executed.
FT.EXPLAINSQLunstableExtension for SQL queries: FT.EXPLAINSQL <sql>
FT.TAGVALSunstableReturns all distinct tags in a tag index.

HyperLogLog commands

CommandSupported OR NotSince VersionDescription
PFADDv2.10.0Adds elements to a HyperLogLog data structure.
PFCOUNTv2.10.0Returns the approximate cardinality (number of unique elements) in a HyperLogLog.
PFMERGEv2.10.0Merges multiple HyperLogLog structures into a single structure.