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

Storage issues when using high count of trees #1484

Open
Slixe opened this issue Nov 8, 2023 · 2 comments
Open

Storage issues when using high count of trees #1484

Slixe opened this issue Nov 8, 2023 · 2 comments
Labels

Comments

@Slixe
Copy link

Slixe commented Nov 8, 2023

Hey there,

I have a need of using really a lot of trees to make difference/versioning of some values.
Unfortunately, looks like this cause lot of storage issues as the database is bloat up to 30 GB..

Also, when doing a loop on all trees from DB to drop them, the database explose in size (30 GB -> 90 GB)

  • expected result: Not have 29 GB of database on disk for ~500 MB of data
  • actual result: 29 GB on disk used
  • sled version: last stable available (0.34.7)
  • rustc version is 1.72.0
  • Operating System: Debian 11 (kernel v5.10.0-25-amd64)
@Slixe Slixe added the bug label Nov 8, 2023
@Wicpar
Copy link

Wicpar commented Nov 12, 2023

have you tried reducing the segment size in the options ? it could help i think

@blelump
Copy link

blelump commented Dec 12, 2024

@Slixe, were you able to find out the proper way to maintain a large number of trees? Also, how do the trees, in your case, vary (if at all) in the number of nodes within the tree?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants