Skip to content

Commit 3890a9f

Browse files
committed
[lmdb facebookincubator#9] Document LMDB
1 parent 1471d90 commit 3890a9f

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

glean/website/docs/running.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,14 @@ Where Glean databases are stored. When `--db-tmp` is used, Glean
103103
creates a temporary directory for storage, and deletes it on
104104
exit. `--db-memory` stores databases in memory.
105105

106+
* `--lmdb`<br />
107+
When using local databases with `--db-root`, the `--lmdb` option
108+
creates new DBs using LMDB instead of the default RocksDB (LMDB is
109+
currently experimental). The `--lmdb` option only affects the
110+
creation of new DBs; Glean can always work with existing DBs created
111+
by either RocksDB or LMDB. See also the `db_create_storage` in the
112+
Server Config.
113+
106114
* `--schema (file:FILE | dir:DIR | config:PATH | DIR)`<br />
107115
**Default**: <Alt internal="indexconfig:glean/schema/index" external="dir:$datadir/glean/schema/source" /><br />
108116
The location of the schema definition. This can either be:
@@ -135,7 +143,8 @@ indexers to specify the indexing steps and dependencies between them.
135143

136144
* `--server-config (file:PATH | config:PATH)`<br />
137145
**Default**: <Alt internal="config:glean/server" external="config:server" /><br />
138-
**Thrift file:** [server-config.thrift](https://github.com/facebookincubator/Glean/blob/master/glean/config/server/server_config.thrift)
146+
**Thrift file:** [server-config.thrift](https://github.com/facebookincubator/Glean/blob/master/glean/config/server/server_config.thrift) <br />
147+
Most Glean configuration options are specified using this config file. See [Configuration Files](#configuration-files) for how to use configuration files.
139148

140149
* `--tier TIER`<br />
141150
Equivalent to <Alt internal="--server-config config:glean/server/TIER" external="--server-config config:server/TIER" /><br />

0 commit comments

Comments
 (0)