Correct badger file loading mode documentation.
This commit is contained in:
parent
30bfba48d5
commit
c4f1eea5dc
1 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ more info). Below are a few examples for supported databases:
|
||||||
"type": "badger",
|
"type": "badger",
|
||||||
"dataSource": "./.step/db",
|
"dataSource": "./.step/db",
|
||||||
"valueDir": "./.step/valuedb"
|
"valueDir": "./.step/valuedb"
|
||||||
"badgerValueLogLoadingMode": "MemoryMap"
|
"badgerFileLoadingMode": "MemoryMap"
|
||||||
},
|
},
|
||||||
...
|
...
|
||||||
},
|
},
|
||||||
|
@ -60,7 +60,7 @@ more info). Below are a few examples for supported databases:
|
||||||
will need to set it explicitly until it becomes the default.
|
will need to set it explicitly until it becomes the default.
|
||||||
* `dataSource` - path, database directory.
|
* `dataSource` - path, database directory.
|
||||||
* `valueDir` [optional] - path, value directory, only if different from `dataSource`.
|
* `valueDir` [optional] - path, value directory, only if different from `dataSource`.
|
||||||
* `badgerValueLogLoadingMode` [optional] - can be set to `FileIO` (instead of the default
|
* `badgerFileLoadingMode` [optional] - can be set to `FileIO` (instead of the default
|
||||||
`MemoryMap`) to avoid memory-mapping log files. This can be
|
`MemoryMap`) to avoid memory-mapping log files. This can be
|
||||||
useful in environments with low RAM. Make sure to use `badgerV2` as the
|
useful in environments with low RAM. Make sure to use `badgerV2` as the
|
||||||
database `type` if using this option.
|
database `type` if using this option.
|
||||||
|
|
Loading…
Add table
Reference in a new issue