2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-17 09:25:32 +00:00
cheat.sheets/sheets/_redis/hyperloglog

10 lines
302 B
Plaintext
Raw Normal View History

2018-05-19 20:40:36 +00:00
# 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 ...]