个人简介:Java领域新星创作者;阿里云技术博主、星级博主、专家博主;正在Java学习的路上摸爬滚打,记录学习的过程~
个人主页:.29.的博客
学习社区:进去逛一逛~
常见使用场景:
pfadd key [element [element ...]]
# 添加指定元素a b c d到hll1中
pfadd hll1 a b c d
pfcount key [key ...]
# 获取hyperloglog的基数数量,可以同时计算多个key的基数数量
pfcount hll1
pfmerge destkey sourcekey [sourcekey ...]
# 将hll1和hll2合并成hll3
pfmerge hll3 hll1 hll2
更多【编程技术-⑧【HyperLoglog】Redis数据类型:HyperLoglog [使用手册]】相关视频教程:www.yxfzedu.com