1MDB_LOAD(1)                 General Commands Manual                MDB_LOAD(1)
2
3
4

NAME

6       mdb_load - LMDB environment import tool
7

SYNOPSIS

9       mdb_load [-V] [-f file] [-n] [-s subdb] [-N] [-T]  envpath
10

DESCRIPTION

12       The  mdb_load  utility  reads from the standard input and loads it into
13       the LMDB environment envpath.
14
15       The input to mdb_load must be in the output  format  specified  by  the
16       mdb_dump(1) utility or as specified by the -T option below.
17

OPTIONS

19       -V     Write  the  library  version  number to the standard output, and
20              exit.
21
22       -f file
23              Read from the specified file instead of from the standard input.
24
25       -n     Load an LMDB database which does not use subdirectories.
26
27       -s subdb
28              Load a specific subdatabase. If no database is  specified,  data
29              is loaded into the main database.
30
31       -N     Don't  overwrite  existing  records when loading into an already
32              existing database; just skip them.
33
34       -T     Load data from simple text files. The input must be paired lines
35              of  text,  where the first line of the pair is the key item, and
36              the second line of the pair is its corresponding data item.
37
38              A simple escape mechanism, where newline and backslash (\) char‐
39              acters  are special, is applied to the text input. Newline char‐
40              acters are interpreted as record separators.  Backslash  charac‐
41              ters  in the text will be interpreted in one of two ways: If the
42              backslash character precedes another  backslash  character,  the
43              pair  will  be  interpreted as a literal backslash. If the back‐
44              slash character precedes any other character, the two characters
45              following  the  backslash  will  be interpreted as a hexadecimal
46              specification of a single character; for example, \0a is a  new‐
47              line character in the ASCII character set.
48
49              For  this reason, any backslash or newline characters that natu‐
50              rally occur in the text input must be escaped to avoid misinter‐
51              pretation by mdb_load.
52
53

DIAGNOSTICS

55       Exit  status  is  zero if no errors occur.  Errors result in a non-zero
56       exit status and a diagnostic message being written to standard error.
57
58

SEE ALSO

60       mdb_dump(1)
61

AUTHOR

63       Howard Chu of Symas Corporation <http://www.symas.com>
64
65
66
67LMDB 0.9.17                       2015/09/30                       MDB_LOAD(1)
Impressum