[#DBParams]
= DBParams
:mrdocs:

Application&hyphen;specific storage settings&period;

== Synopsis

Declared in `&lt;dbwrapper&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct DBParams;
----

== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:DBParams/bloom_filter.adoc[`bloom&lowbar;filter`] 
| If true, build a LevelDB bloom filter to accelerate point lookups&period;
| xref:DBParams/cache_bytes.adoc[`cache&lowbar;bytes`] 
| Configures various leveldb cache settings&period;
| xref:DBParams/max_file_size.adoc[`max&lowbar;file&lowbar;size`] 
| Maximum LevelDB SST file size&period; Larger values reduce the frequency of compactions but increase their duration&period;
| xref:DBParams/memory_only.adoc[`memory&lowbar;only`] 
| If true, use leveldb&apos;s memory environment&period;
| xref:DBParams/obfuscate.adoc[`obfuscate`] 
| If true, store data obfuscated via simple XOR&period; If false, XOR with a zero&apos;d byte array&period;
| xref:DBParams/options.adoc[`options`] 
| Passed&hyphen;through options&period;
| xref:DBParams/path.adoc[`path`] 
| Location in the filesystem where leveldb data will be stored&period;
| xref:DBParams/testing_env.adoc[`testing&lowbar;env`] 
| If non&hyphen;null, use this as the leveldb&colon;&colon;Env instead of the default&period; Caller retains ownership&period;
| xref:DBParams/wipe_data.adoc[`wipe&lowbar;data`] 
| If true, remove all existing data&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
