CMS.INFO
Syntax
CMS.INFO key
- Available in:
- Redis Open Source / Bloom 2.0.0
- Time complexity:
- O(1)
- ACL categories:
-
@cms
,@read
,@fast
,
Returns width, depth and total count of the sketch.
Parameters:
- key: The name of the sketch.
Examples
redis> CMS.INFO test
1) width
2) (integer) 2000
3) depth
4) (integer) 7
5) count
6) (integer) 0
One of the following:
- Array reply of simple string reply and integer reply pairs containing sketch information.
- Simple error reply in these cases: invalid arguments, missing key, or wrong key type.