Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Chen, Junjie <chenjunjie@huawei.com> Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
10 KiB
Command Restrictions for Cluster Instances
Some Redis commands are supported by cluster DCS instances for multi-key operations in the same slot. For details, see Table 1.
Category |
Description |
|---|---|
Set |
|
SINTER |
Returns the members of the set resulting from the intersection of all the given sets. |
SINTERSTORE |
Equal to SINTER, but instead of returning the result set, it is stored in destination. |
SUNION |
Returns the members of the set resulting from the union of all the given sets. |
SUNIONSTORE |
Equal to SUNION, but instead of returning the result set, it is stored in destination. |
SDIFF |
Returns the members of the set resulting from the difference between the first set and all the successive sets. |
SDIFFSTORE |
Equal to SDIFF, but instead of returning the result set, it is stored in destination. |
SMOVE |
Moves member from the set at source to the set at destination. |
Sorted Set |
|
ZUNIONSTORE |
Computes the union of numkeys sorted sets given by the specified keys. |
ZINTERSTORE |
Computes the intersection of numkeys sorted sets given by the specified keys. |
HyperLogLog |
|
PFCOUNT |
Returns the approximated cardinality computed by the HyperLogLog data structure stored at the specified variable. |
PFMERGE |
Merges multiple HyperLogLog values into a unique value. |
Keys |
|
RENAME |
Renames key to newkey. |
RENAMENX |
Renames key to newkey if newkey does not yet exist. |
BITOP |
Performs a bitwise operation between multiple keys (containing string values) and stores the result in the destination key. |
RPOPLPUSH |
Returns and removes the last element (tail) of the list stored at source, and pushes the element at the first element (head) of the list stored at destination. |
String |
|
MSETNX |
Merges multiple HyperLogLog values into a unique value. |
