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

lack of 'rocksdb_options_add_compact_on_deletion_collector_factory' #718

Closed
AdjoiningCat opened this issue Dec 7, 2022 · 0 comments · Fixed by #838
Closed

lack of 'rocksdb_options_add_compact_on_deletion_collector_factory' #718

AdjoiningCat opened this issue Dec 7, 2022 · 0 comments · Fixed by #838

Comments

@AdjoiningCat
Copy link

AdjoiningCat commented Dec 7, 2022

hi,

I have a situation: 'seek' after many separate 'delete', the performance of 'seek' degrades very obvious.
I did some search, there are some ways may help with the problem:
1、use 'deleterange' instead of many separate 'delete', this can help reducing "delete tombstone" but can only be used at some specific scenario, mine is not fit
2、'compact' periodicaly, it helps getting a relatively stable performance, but may cause some impact on my other scenarios.
3、use a 'CompactOnDeletionCollectorFactory', it triggers compaction when the ratio of delete reachs the specified value, but it could not be found and set at the lastest version.

so, is there any plan to add the interface?

BusyJay pushed a commit to BusyJay/rust-rocksdb that referenced this issue Dec 10, 2022
Signed-off-by: tabokie <xy.tao@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant