Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
k-grant committed Oct 13, 2020
1 parent 3c1231b commit 4882c08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ Default values here are set to BadgerDB defaults and subject to change if packag
| -------------------------------------------------- | ----- | ------------------------------------------------------------ | ------- |
| ENABLE_TRUNCATE | bool | Truncate indicates whether value log files should be truncated to delete corrupt data, if any. | False |
| GARBAGE_COLLECTION_DISCARD_RATIO | float | Percentage of value log file that has to be expired or ready for garbage collection for that file to be eligible for garbage collection. | 0.5 |
| IN_MEMORY | bool | Sets InMemory mode to true. Everything is stored in memory. No value/sst files are created. In case of a crash all data will be lost. | false |
| LEVEL_ONE_SIZE | int | The maximum total size in bytes for Level 1 in the LSM. | 20MB |
| LEVEL_SIZE_MULTIPLIER | int | Sets the ratio between the maximum sizes of contiguous levels in the LSM. Once a level grows to be larger than this ratio allowed, the compaction process will be triggered. | 10 |
| MAX_TABLE_SIZE | int | Sets the maximum size in bytes for each LSM table or file. | 64MB |
Expand Down

0 comments on commit 4882c08

Please sign in to comment.