Help Center/ MapReduce Service/ Component Operation Guide (LTS)/ Using Flink/ Enterprise-Class Enhancements of Flink/ Optimizing Flink SQL Join and Top N Operator Performance with RocksDB Prefix Bloom Filters
Updated on 2026-06-27 GMT+08:00

Optimizing Flink SQL Join and Top N Operator Performance with RocksDB Prefix Bloom Filters

Scenarios

RocksDB Prefix Bloom Filters can be used to optimize the performance of join and top N operators in Flink SQL.

Notes and Constraints

Snapshots generated before and after this feature is enabled are incompatible.

This section applies only to MRS 3.6.0-LTS.1 and later.

How to Use

To enable RocksDB Prefix Bloom Filters, add the following custom parameters on the Flink job development page of the FlinkServer web UI. For details, see Creating a FlinkServer Job.

  • Set table.exec.use-map-prefix-bloomfilter to true.
  • Set state.backend.rocksdb.auto-workload-parameters-derivation to true.