Application-specific storage settings.
Declared in <dbwrapper.h>
struct DBParams;
| Name | Description |
|---|---|
bloom_filter | If true, build a LevelDB bloom filter to accelerate point lookups. |
cache_bytes | Configures various leveldb cache settings. |
max_file_size | Maximum LevelDB SST file size. Larger values reduce the frequency of compactions but increase their duration. |
memory_only | If true, use leveldb's memory environment. |
obfuscate | If true, store data obfuscated via simple XOR. If false, XOR with a zero'd byte array. |
options | Passed-through options. |
path | Location in the filesystem where leveldb data will be stored. |
testing_env | If non-null, use this as the leveldb::Env instead of the default. Caller retains ownership. |
wipe_data | If true, remove all existing data. |