BF.INFO

Syntax
BF.INFO key [CAPACITY | SIZE | FILTERS | ITEMS | EXPANSION]
Available in:
Redis Stack / Bloom 1.0.0
Time complexity:
O(1)

Return information about key filter.

Parameters

  • key: Name of the key to return information about

Optional parameters:

  • CAPACITY Capacity
  • SIZE Size
  • FILTERS Number of filters
  • ITEMS Number of items inserted
  • EXPANSION Expansion rate

Return

Array reply with information of the filter.

Examples

redis> BF.ADD key item
(integer) 1
redis> BF.INFO key
 1) Capacity
 2) (integer) 100
 3) Size
 4) (integer) 296
 5) Number of filters
 6) (integer) 1
 7) Number of items inserted
 8) (integer) 1
 9) Expansion rate
10) (integer) 2
redis> BF.INFO key CAPACITY
1) (integer) 100

Feedback

If you've found issues on this page, or have suggestions for improvement, please submit a request to merge or open an issue in the repository.