-
Notifications
You must be signed in to change notification settings - Fork 6
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
Prefer ethdb, try to migrate sqlite to ethdb #223
Comments
When use ethdb, the
For the first problem, we can trace the farthest distance when the new data inserted in the db. For the second problem, we should cache the top N distance in order, and keep the distance -> value size, so we can know how many items should be deleted. |
Please bear in mind that I am not familiarized with
|
when the capacity is full, we must delete the top n farthest item to free some storage. In pebble, we can use iterator to get the last item. So we can use For the storage size, because of the LSM model, delete item is just add a label, the storage space is not freed, it hard to know the real storage size. So we will maintain the size, |
No description provided.
The text was updated successfully, but these errors were encountered: