flink算子状态查看

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

flink算子状态查看

sunfulin
求问怎么通过dashboard查看状态存储量之类的统计?如果没开checkpoint的话
Reply | Threaded
Open this post in threaded view
|

Re: flink算子状态查看

Yun Tang
Hi

没开启Checkpoint但是想知道状态存储的用量的话,对于FsStateBackend来说没有什么好办法;但是对于RocksDBStateBackend来说可以通过开启RocksDB native metrics [1] 的方式来观察memtable 以及 sst文件的 size,来近似估算整体状态存储数据量。


[1] https://ci.apache.org/projects/flink/flink-docs-release-1.9/ops/config.html#rocksdb-native-metrics

祝好
唐云
________________________________
From: sunfulin <[hidden email]>
Sent: Wednesday, January 8, 2020 17:43
To: [hidden email] <[hidden email]>
Subject: flink算子状态查看

求问怎么通过dashboard查看状态存储量之类的统计?如果没开checkpoint的话