Module Hub Beta


key item value [item value ...]

Increments the count for item by value.

If key does not exist, the sketch is initialized using a default width of 2000 and a depth of 10 (the defaults provide an %0.01 error at a probability of %.01).

Return Value

Simple String: “OK”.


redis> CMS.INCRBY counter foo 1 bar 10 baz 42

© 2017 Redis Labs, Inc. All rights reserved.