blob: 1e272f64a1d2d300660a3f85c9abd80de3423e3a [file] [log] [blame]
import{_ as e,o,c as t,e as a}from"./app-Bp5kEZWW.js";const r={},n=a('<h2 id="mlogparser-tool" tabindex="-1"><a class="header-anchor" href="#mlogparser-tool"><span>MlogParser Tool</span></a></h2><p>After version 0.12.x, IoTDB encodes metadata files into binary format.</p><p>If you want to parse metadata into a human-readable way, you can use this tool to parse the specified metadata file.</p><p>Currently, the tool can only parse mlog.bin file.</p><p>If the consensus protocol used in cluster for SchemaRegion is RatisConsensus, IoTDB won&#39;t use mlog.bin file to store metadata and won&#39;t generate mlog.bin file.</p><h3 id="how-to-use" tabindex="-1"><a class="header-anchor" href="#how-to-use"><span>How to use</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),s=[n];function l(i,c){return o(),t("div",null,s)}const m=e(r,[["render",l],["__file","MLogParser-Tool.html.vue"]]),h=JSON.parse('{"path":"/UserGuide/V1.0.x/Maintenance-Tools/MLogParser-Tool.html","title":"","lang":"en-US","frontmatter":{"description":"MlogParser Tool After version 0.12.x, IoTDB encodes metadata files into binary format. If you want to parse metadata into a human-readable way, you can use this tool to parse th...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://iotdb.apache.org/zh/UserGuide/V1.0.x/Maintenance-Tools/MLogParser-Tool.html"}],["meta",{"property":"og:url","content":"https://iotdb.apache.org/UserGuide/V1.0.x/Maintenance-Tools/MLogParser-Tool.html"}],["meta",{"property":"og:site_name","content":"IoTDB Website"}],["meta",{"property":"og:description","content":"MlogParser Tool After version 0.12.x, IoTDB encodes metadata files into binary format. If you want to parse metadata into a human-readable way, you can use this tool to parse th..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["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":"MlogParser Tool","slug":"mlogparser-tool","link":"#mlogparser-tool","children":[{"level":3,"title":"How to use","slug":"how-to-use","link":"#how-to-use","children":[]}]}],"git":{"createdTime":1688958677000,"updatedTime":1688958677000,"contributors":[{"name":"CritasWang","email":"critas@outlook.com","commits":1}]},"readingTime":{"minutes":0.69,"words":208},"filePathRelative":"UserGuide/V1.0.x/Maintenance-Tools/MLogParser-Tool.md","localizedDate":"July 10, 2023","autoDesc":true}');export{m as comp,h as data};