Redis: HyperLogLog Cheat Sheet

Pfadd Command

redis 127.0.0.1:6379> PFADD KEY_NAME ELEMENTS_TO_BE_ADDED

Pfcount Command

redis 127.0.0.1:6379> PFCOUNT KEY_NAME KEY1 ... KEYN 

Pfmerge Command

redis 127.0.0.1:6379> PFMERGE KEY_NAME KEY1 ... KEYN

Leave a Reply

Your email address will not be published.