-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch Badger Options to reasonable settings for p and w directories. (…
…#2605) * Pick Badger Options which use LSM tree a bit more, so it would colocate values below 1KB with the keys. This allows easier reclamation of value log space, reducing the size of data consumption by Dgraph. A test run of 21M data set, resulted in 3.3GB, compared to 5.7GB with previous settings. The number of value log files also decreased considerably due to easier cleanup. * This change removes the need to expose `--badger.options=ssd,hdd` options. We've chosen a middle ground setting, which should work in most cases. * Remove the none option, which is confusing. * Output the options used to open WAL as well. * Pull in Badger updates.
- Loading branch information
1 parent
fe7b749
commit 2e5fab5
Showing
7 changed files
with
92 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters