CMS.INCRBY
Syntax
CMS.INCRBY key item increment [item increment ...]
Time complexity: O(n) where n is the number of items
ACL categories: @cms
Increments the count of one or more items in the Count-Min Sketch stored at key by the given increment values.
The increment value must be a positive integer greater than 0.
If key does not exist, an error is returned.
Return
Array reply: An array of integers, one per item, representing the estimated count of each item after the increment.
Examples
dragonfly> CMS.INITBYDIM cms_key 2000 5
OK
dragonfly> CMS.INCRBY cms_key item1 1 item2 5
1) (integer) 1
2) (integer) 5
dragonfly> CMS.INCRBY cms_key item1 10
1) (integer) 11