Skip to content
masterclass Buddy

Redis · Command

PFADD

PFADD adds items to a HyperLogLog key. It creates the key if it does not exist and reports whether the estimated cardinality changed.

Last updated

Since
2.8.9

Syntax

PFADD key [element [element ...]]

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • PFCOUNT
  • PFMERGE
  • PFDEBUG
  • PFSELFTEST

Source: PFADD. Checked 2026-11-03.