leonbear
leonbear

Reputation: 196

In monitor scenario of Apache IoTDB, how to calculate the average compression ratio?

I am now learning the monitor function and tool of Apache IoTDB. I noticed that here is a "average of compression ratio" indicator mentioned in the monitor configuration in IoTDB. One single point compression ratio is understandable, but I am confused on how to calculate this average compression ratio in this monitoring case?

Upvotes: -2

Views: 14

Answers (1)

Miaohui
Miaohui

Reputation: 524

The average compression ratio of Apache IoTDB can be calculated by ratio_sum / memtable_flush_time, which ratio_sum means sum of memtable compression ratios. The compression ratio statistics file (which you can find these parameter information) is in data/system/compression_ratio/Ratio-{ratio_sum}- directory of IoTDB.

Upvotes: 1

Related Questions