MyRocks Bloom Filters
Learn how to configure and use Bloom filters in MyRocks to speed up point lookups by probabilistically determining if a key exists in a data file.
Bloom Filter Parameters
Computing Prefix Length
Configuring Bloom Filter
rocksdb_override_cf_options='cf1={block_based_table_factory={filter_policy=bloomfilter:10:false;whole_key_filtering=0;};prefix_extractor=capped:8};'SELECT *
FROM information_schema.rocksdb_cf_options
WHERE
cf_name='cf1' AND
option_type IN ('TABLE_FACTORY::FILTER_POLICY','PREFIX_EXTRACTOR');Checking if Bloom Filter is Useful
Last updated
Was this helpful?

