Is Flink Table API's MiniBatch optimization only u...
# troubleshooting
v
Is Flink Table API's MiniBatch optimization only useful for aggregations? I want to optimize queries with a lot of JOINs, but no aggregations. I'm trying to make Flink use RocksDB's
MultiGet
as the main bottleneck right now is the rocksdb random reads
g
it also helps improve performance with joins
v
really? that's good to know. i only see MiniBatchGroupAgg operators in the flink codebase
do you happen to know if it makes flink use
multiget
? or how does it get optimized?
g
I don't remember on top of my head, but i suspect it doesn't. For the regular join it helps as it should also enable lesser state access and because the join creates lots of changelog records, it should minimize the records emitted, as data with the same key is processed in the same batch/memory