跳至主要內容

...小于 1 分钟

Mlog 解析工具

0.12.x 版本之后,IoTDB 将元数据文件编码成二进制。

如果想要将二进制元数据解析为人可读的字符串格式,可以使用本工具。

该工具目前仅支持解析 mlog.bin 文件。

在分布式场景下,若 SchemaRegion 的共识协议采用的是 RatisConsensus,IoTDB 不会使用 mlog.bin 文件来存储元数据,也将不会生成 mlog.bin 文件。

使用方式

Linux/MacOS

./print-schema-log.sh -f /your path/mlog.bin -o /your path/mlog.txt

Windows

.\print-schema-log.bat -f \your path\mlog.bin -o \your path\mlog.txt

Copyright © 2024 The Apache Software Foundation.
Apache IoTDB, IoTDB, Apache, the Apache feather logo, and the Apache IoTDB project logo are either registered trademarks or trademarks of The Apache Software Foundation in all countries

Have a question? Connect with us on QQ, WeChat, or Slack. Join the community now.