-
-
Notifications
You must be signed in to change notification settings - Fork 343
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
Trigger level db compactRange #4515
Comments
I've added a new option on a branch dapplion/bump-level...dapplion/test-compact which triggers compact of the entire db on start up with Results for feat2-sm1v-ctvpss
Results for feat2-novc-ctvpss
Results for feat2-novc-ctvpss Note this instance did not prune additional states beforehand, the two above prune states but did not compact
|
Any news on this? I'm running lodestar on gnosis, and periodically I have to delete db and redo sync because it is increasing by ~10GB per month. |
This proposal was started to clean-up the consequences of an old bug where Lodestar persisted states too frequently. If you have re-synced Lodestar recently this proposal won't affect much. To reduce disk space we are working on this optimization which should reduce disk requirements significantly. I have to check Gnosis specific numbers, but for Ethereum it could be save 10-30 GB / month |
Due to level-db internals, after a significant amount of data put or del it's necessary to compact that range to realize the size reduction. After an offline discussion with other teams:
Given we have not done this before, extensive testing is necessary to:
The text was updated successfully, but these errors were encountered: