Hi Mu, I would suggest to look into RocksDB metrics which you can enable as Flink metrics [1]
Best, Andrey [1] https://ci.apache.org/projects/flink/flink-docs-release-1.11/ops/config.html#rocksdb-native-metrics On Fri, Aug 21, 2020 at 4:27 AM Mu Kong <kong.mu....@gmail.com> wrote: > Hi community, > > I have a Flink job running with RichMapFunction that uses keyed state. > Although the TTL is enabled, I wonder if there is a way that I can monitor > the memory usage of the keyed state. I'm using RocksDB as the state backend. > > Best regards, > Mu >