-
Notifications
You must be signed in to change notification settings - Fork 72
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
500 GB of metadata #1982
Comments
This is the main levelDB. I am not sure why it is so large in your case but there is no clean up mechanism for it. Mostly likely suspect would be index-provider if you have large cache size for index-provider. |
I've been a miner since before the spacerace and have 500.000+ legacy deals - some of those have a lot of data in them. Could that be it? |
That would still not explain the size. It is hard to guess what is taking up the space without access to the DB. You can try DB compaction. But ensure that Boostd is not running when you do this. Or you will need to check what kind of keys are the most. |
Any debug tools / docs that I can use to explore that DB? Any query results you're interested in seeing? |
I use https://github.com/cions/leveldb-cli but it is limited. Also, can you give me the config.toml values for EntriesCacheCapacity? There is no specific commands that we can use to determine the size. This would mostly be trying to find what kind of keys are occupying the most space. |
[IndexProvider]
#EntriesCacheCapacity = 1024
#EntriesChunkSize = 16384 so that's all at default values. |
In that case, you need to check what in DB is occupying the space. |
The CLI app doesn't really seem to run; ~/leveldb-cli/cmd/leveldb$ go run . show
leveldb: error: file does not exist
exit status 1 how do i best read out contents of the DB and what would be interesting to look at? |
Use the directory flag. It is a simple KV DB so everything is in one place. "/index-provider" would be my first suspect but hard to guess. Only way to know is to look at the data. |
Checklist
Latest release
, or the most recent RC(release canadiate) for the upcoming release or the dev branch(master), or have an issue updating to any of these.Boost component
Boost Version
Describe the Bug
Massive amounts of files (300k) of ~2.1MB each in
~/.boost/datastore/metadata
Some of these files are back from 2022. Shouldn't this metadata be cleaned up? What is it from?
Logging Information
Repo Steps
The text was updated successfully, but these errors were encountered: