bf.info


目录

Returns usage information and properties of a specific bloom filter.

Info Fields

For non-scaling filters, the TIGHTENING and MAXSCALEDCAPACITY fields are not applicable and will not be returned. When no optional fields are specified, all available fields for the given filter type are returned.

Examples

127.0.0.1:6379> BF.ADD key val
(integer) 1
127.0.0.1:6379> BF.INFO key
 1) Capacity
 2) (integer) 100
 3) Size
 4) (integer) 384
 5) Number of filters
 6) (integer) 1
 7) Number of items inserted
 8) (integer) 2
 9) Error rate
10) "0.01"
11) Expansion rate
12) (integer) 2
13) Tightening ratio
14) "0.5"
15) Max scaled capacity
16) (integer) 26214300
127.0.0.1:6379> BF.INFO key CAPACITY
(integer) 100

版本号 #2
由 壳壳虫 创建于 2026-10-31 15:09:40 UTC
由 壳壳虫 更新于 2026-10-31 15:09:41 UTC