2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-15 06:12:59 +00:00
cheat.sheets/sheets/_redis/hyperloglog
2018-05-19 20:40:36 +00:00

10 lines
302 B
Plaintext

# Adds the specified elements to the specified HyperLogLog.
PFADD key element [element ...]
# Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s).
PFCOUNT key [key ...]
# Merge N different HyperLogLogs into a single one.
PFMERGE destkey sourcekey [sourcekey ...]