3
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
10
.TH "MTBL_INFO" "1" "01/31/2014" "\ \&" "\ \&"
11
.\" -----------------------------------------------------------------
12
.\" * Define some portability stuff
13
.\" -----------------------------------------------------------------
14
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15
.\" http://bugs.debian.org/507673
16
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20
.\" -----------------------------------------------------------------
21
.\" * set default formatting
22
.\" -----------------------------------------------------------------
23
.\" disable hyphenation
25
.\" disable justification (adjust text to left margin only)
27
.\" -----------------------------------------------------------------
28
.\" * MAIN CONTENT STARTS HERE *
29
.\" -----------------------------------------------------------------
31
mtbl_info \- display information about an MTBL file
34
\fBmtbl_info\fR \fIFILE\fR [\fIFILE\fR]\&...
37
\fBmtbl_info\fR(1) displays the following information about the MTBL files specified on the command line\&.
39
\fIfile name\fR \(em the name of the MTBL file\&.
41
\fIfile size\fR \(em the total size of the MTBL file, in bytes\&.
43
\fIindex bytes\fR \(em the total number of bytes and proportion of the total file size consumed by the index\&.
45
\fIdata block bytes\fR \(em the total number of bytes and proportion of the total file size consumed by data blocks\&.
47
\fIdata block size\fR \(em the maximum size of an uncompressed data block\&.
49
\fIdata block count\fR \(em the total number of data blocks\&.
51
\fIentry count\fR \(em the total number of key\-value entries\&.
53
\fIkey bytes\fR \(em 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\&.
55
\fIvalue bytes\fR \(em 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\&.
57
\fIcompression algorithm\fR \(em the algorithm used to compress data blocks\&. Possible values are "none", "snappy" and "zlib"\&.
59
\fIcompactness\fR \(em 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, trailer, and data block offset arrays\&.