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

Shrink bolt databases #1951

Open
fyrchik opened this issue Oct 21, 2022 · 0 comments
Open

Shrink bolt databases #1951

fyrchik opened this issue Oct 21, 2022 · 0 comments
Labels
enhancement Improving existing functionality I3 Minimal impact neofs-storage Storage node application issues S3 Minimally significant U4 Nothing urgent

Comments

@fyrchik
Copy link
Contributor

fyrchik commented Oct 21, 2022

The size of bbolt databases can only grow boltdb/bolt#308

This is a bit misleading from the user POV, who can do df -h and also leaves less space for big objects.
We can extend GC with a vacuum, which (rarely) tries to compact blobovnicza trees by trying to move all objects on a single level to a smaller set of leaves.

There is also https://github.com/etcd-io/bbolt/blob/master/compact.go, but it needs 2 files.

@roman-khimov roman-khimov added U4 Nothing urgent S3 Minimally significant I3 Minimal impact and removed triage labels Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improving existing functionality I3 Minimal impact neofs-storage Storage node application issues S3 Minimally significant U4 Nothing urgent
Projects
None yet
Development

No branches or pull requests

2 participants