blob: 7c178930f78c0f437317025c93f1d0665b44efe9 [file] [log] [blame]
import{_ as e,o,c as t,e as a}from"./app-Bp5kEZWW.js";const n={},r=a('<h2 id="mlog-解析工具" tabindex="-1"><a class="header-anchor" href="#mlog-解析工具"><span>Mlog 解析工具</span></a></h2><p>0.12.x 版本之后,IoTDB 将元数据文件编码成二进制。</p><p>如果想要将二进制元数据解析为人可读的字符串格式,可以使用本工具。</p><p>该工具目前仅支持解析 mlog.bin 文件。</p><p>在分布式场景下,若 SchemaRegion 的共识协议采用的是 RatisConsensus,IoTDB 不会使用 mlog.bin 文件来存储元数据,也将不会生成 mlog.bin 文件。</p><h3 id="使用方式" tabindex="-1"><a class="header-anchor" href="#使用方式"><span>使用方式</span></a></h3><p>Linux/MacOS</p><blockquote><p>./print-schema-log.sh -f /your path/mlog.bin -o /your path/mlog.txt</p></blockquote><p>Windows</p><blockquote><p>.\\print-schema-log.bat -f \\your path\\mlog.bin -o \\your path\\mlog.txt</p></blockquote>',10),l=[r];function i(s,c){return o(),t("div",null,l)}const m=e(n,[["render",i],["__file","MLogParser-Tool.html.vue"]]),h=JSON.parse('{"path":"/zh/UserGuide/V1.0.x/Maintenance-Tools/MLogParser-Tool.html","title":"","lang":"zh-CN","frontmatter":{"description":"Mlog 解析工具 0.12.x 版本之后,IoTDB 将元数据文件编码成二进制。 如果想要将二进制元数据解析为人可读的字符串格式,可以使用本工具。 该工具目前仅支持解析 mlog.bin 文件。 在分布式场景下,若 SchemaRegion 的共识协议采用的是 RatisConsensus,IoTDB 不会使用 mlog.bin 文件来存储元数据,也...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://iotdb.apache.org/UserGuide/V1.0.x/Maintenance-Tools/MLogParser-Tool.html"}],["meta",{"property":"og:url","content":"https://iotdb.apache.org/zh/UserGuide/V1.0.x/Maintenance-Tools/MLogParser-Tool.html"}],["meta",{"property":"og:site_name","content":"IoTDB Website"}],["meta",{"property":"og:description","content":"Mlog 解析工具 0.12.x 版本之后,IoTDB 将元数据文件编码成二进制。 如果想要将二进制元数据解析为人可读的字符串格式,可以使用本工具。 该工具目前仅支持解析 mlog.bin 文件。 在分布式场景下,若 SchemaRegion 的共识协议采用的是 RatisConsensus,IoTDB 不会使用 mlog.bin 文件来存储元数据,也..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2023-07-10T03:11:17.000Z"}],["meta",{"property":"article:modified_time","content":"2023-07-10T03:11:17.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-07-10T03:11:17.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":2,"title":"Mlog 解析工具","slug":"mlog-解析工具","link":"#mlog-解析工具","children":[{"level":3,"title":"使用方式","slug":"使用方式","link":"#使用方式","children":[]}]}],"git":{"createdTime":1688958677000,"updatedTime":1688958677000,"contributors":[{"name":"CritasWang","email":"critas@outlook.com","commits":1}]},"readingTime":{"minutes":0.83,"words":249},"filePathRelative":"zh/UserGuide/V1.0.x/Maintenance-Tools/MLogParser-Tool.md","localizedDate":"2023年7月10日","autoDesc":true}');export{m as comp,h as data};