-
Notifications
You must be signed in to change notification settings - Fork 997
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
BadgerDB database is too big for dataset #4187
Comments
In another instance (running for almost a year) also using Badger, i can confirm this problem by dumping and loading the dump:
|
The garbage collection is triggered in every hour, so there should be other issues. Can you list the sizes of all the files in badger directory? |
|
It looks like badger can't compact the vlog file as expected, can you file an issue to badger? |
Seems similar to hypermodeinc/badger#1995 and hypermodeinc/badger#2003 so let's keep discussion upstream. |
There is a problem somewhere (maybe GC not running as it should?) with BadgerDB.
In a production env. the database is almost 10Gb in size:
But after doing a :
We can observe that the new database is 96% smaller !!
Also, doing a backup using badger CLI:
1.1.0+2023-09-04.08c4ae6
The text was updated successfully, but these errors were encountered: