Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch Badger Options to reasonable settings for p and w directories. #2605

Merged
merged 4 commits into from
Sep 20, 2018

Conversation

manishrjain
Copy link
Contributor

@manishrjain manishrjain commented Sep 20, 2018

This change is Reviewable

@manishrjain manishrjain merged commit 2e5fab5 into master Sep 20, 2018
@manishrjain manishrjain deleted the mrjn/badger.options branch September 20, 2018 19:47
dna2github pushed a commit to dna2fork/dgraph that referenced this pull request Jul 19, 2019
…dgraph-io#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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant