提问人:Hester Tso 提问时间:11/13/2023 更新时间:11/14/2023 访问量:16
如何实时查看Apache IoTDB中tsfiles的压缩率?
How to do real-time checking of the compression ratio of tsfiles in Apache IoTDB?
问:
如何在Apache IoTDB中实时查看tsfile的压缩率?当我对某些 tsfiles 进行查询时,我的编辑器当前返回 1,这个数字是否意味着没有进行压缩?
答:
0赞
FLOW4215
11/14/2023
#1
压缩率可以从名为“datanode/system/compression_ratio”的 Apache-IoTDB 文件夹下的文件中检查。在此文件夹中,有一个名为“Compression-{number1}-{number2}”的文件。 {number1} 表示“压缩前的大小”; {number2} 表示“压缩后的大小”。 示例:Compression-123456789-12345678
编辑器返回的数字应该代表查询结果的行数,与Apache-IoTDB的压缩率无关。
评论