mtbl_info(1)

mtbl_info1

Display information about an mtbl file

Usage

mtbl_info FILE [FILE] ...

Overview

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

file name — the name of the MTBL file.

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

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

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

data block size — the maximum size of an uncompressed data block.

data block count — the total number of data blocks.

entry count — the total number of key-value entries.

key bytes — 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.

value bytes — 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.

compression algorithm — 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.

Releases

6 releases since Debian 7 (Wheezy); the text changed 3 times.

  1. 7
  2. 8
  3. 9
  4. 11–13

From mtbl-bin 1.6.1-1+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.