CMS.INFO
Syntax
CMS.INFO key
- Available in:
- Redis Open Source / Bloom 2.0.0
- Time complexity:
- O(1)
- ACL categories:
-
@cms,@read,@fast, - Compatibility:
- Redis Enterprise and Redis Cloud compatibility
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
Redis Enterprise and Redis Cloud compatibility
| Redis Enterprise |
Redis Cloud |
Notes |
|---|---|---|
| ✅ Supported |
✅ Flexible & Annual ✅ Free & Fixed |
Return information
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.