comando Redis Pgmerge
comandar Redis Pgmerge múltipla HyperLogLog em um HyperLogLog, estimativas de cardinalidade HyperLogLog combinados através de todos dada HyperLogLog ser calculado e definido.
gramática
Redis Pgmerge sintaxe de comando básica é a seguinte:
redis 127.0.0.1:6379> PFMERGE destkey sourcekey [sourcekey ...]
versões disponíveis
> = 2.8.9
Valor de retorno
Voltar OK.
Exemplos
redis 127.0.0.1:6379> PFADD hll1 foo bar zap a (integer) 1 redis 127.0.0.1:6379> PFADD hll2 a b c foo (integer) 1 redis 127.0.0.1:6379> PFMERGE hll3 hll1 hll2 OK redis 127.0.0.1:6379> PFCOUNT hll3 (integer) 6 redis>