logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mtbl_info - display information about an MTBL file

Description

mtbl_info(1) displays the following information about the MTBL files specified on the command line.

       filename — the name of the MTBL file.

       filesize — the total size of the MTBL file, in bytes.

       indexbytes — the total number of bytes and proportion of the total file size consumed by the index.

       datablockbytes — the total number of bytes and proportion of the total file size consumed by data
       blocks.

       datablocksize — the maximum size of an uncompressed data block.

       datablockcount — the total number of data blocks.

       entrycount — the total number of key-value entries.

       keybytes — the total number of bytes that all keys in the file would occupy if stored end-to-end in a
       byte array with no delimiters.

       valuebytes — the total number of bytes that all values in the file would occupy if stored end-to-end in
       a byte array with no delimiters.

       compressionalgorithm — the algorithm used to compress data blocks. Possible values are "none", "snappy",
       "zlib", "lz4", "lz4hc", and "zstd".

       compactness — a rough metric comparing the total number of bytes in the key-value entries with the total
       size of the MTBL file. It is calculated as (file size) / (key bytes + value bytes), and thus takes into
       account the gains of data block compression and prefix key compression against the overhead of the index,
       metadata, and data block offset arrays.

                                                   12/11/2016                                       MTBL_INFO(1)

Name

       mtbl_info - display information about an MTBL file

Synopsis

mtbl_infoFILE [FILE]...

See Also