English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Il comando redis PFMERGE unisce più HyperLogLog in un unico HyperLogLog, il valore stimato della cardinalità del HyperLogLog combinato è calcolato sommando tutti calcolato per unione HyperLogLog data.
La sintassi del comando redis PFMERGE è la seguente:
PFMERGE destkey sourcekey [sourcekey ...]
>= 2.8.9
ritorna OK.
redis> PFADD hll1 foo bar zap a (intero) 1 redis> PFADD hll2 a b c foo (intero) 1 redis> PFMERGE hll3 hll1 hll2 "OK" redis> PFCOUNT hll3 (intero) 6 redis>