CF.INFO
CF.INFO key
- Available in:
- Redis Open Source / Bloom 1.0.0
- Time complexity:
- O(1)
- ACL categories:
-
@cuckoo,@read,@fast, - Compatibility:
- Redis Software and Redis Cloud compatibility
Returns information about a cuckoo filter.
Required arguments
key
is key name for a cuckoo filter.
Examples
redis> CF.ADD cf item1 (integer) 1 redis> CF.INFO cf 1) Size 2) (integer) 1080 3) Number of buckets 4) (integer) 512 5) Number of filters 6) (integer) 1 7) Number of items inserted 8) (integer) 1 9) Number of items deleted 10) (integer) 0 11) Bucket size 12) (integer) 2 13) Expansion rate 14) (integer) 1 15) Max iterations 16) (integer) 20
Redis Software and Redis Cloud compatibility
| Redis Software |
Redis Cloud |
Notes |
|---|---|---|
| ✅ Supported |
✅ Flexible & Annual ✅ Free & Fixed |
Return information
One of the following:
- Array reply with argument name (Simple string reply) and value (Integer reply) pairs.
- Simple error reply if invalid arguments are passed,
keydoes not exist, orkeyis not of the correct type.