CF.INFO
Syntax
CF.INFO key
- Available in:
- Redis Stack / Bloom 1.0.0
- Time complexity:
- O(1)
Returns information about a cuckoo filter.
Required arguments
key
is key name for a cuckoo filter.
Return value
Returns one of these replies:
- Array reply with argument name (Simple string reply) and value (Integer reply) pairs
- Error reply on error (invalid arguments, key does not exist, wrong key type, and so on)
Examples
redis> CF.INFO cf
1) Size
2) (integer) 1080
3) Number of buckets
4) (integer) 512
5) Number of filter
6) (integer) 1
7) Number of items inserted
8) (integer) 0
9) Number of items deleted
10) (integer) 0
11) Bucket size
12) (integer) 2
13) Expansion rate
14) (integer) 1
15) Max iteration
16) (integer) 20