You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of my use cases involves building a large K/V dataset in one location, then closing the data store, transfering and replicating the contents to other locations and initializing them elsewhere.
For this use case, I would like to have a method to do manual compaction.
Perhaps a method void compact(float threshold) that compacts all data files that have more than threshold ratio of overwritten bytes would be best. For example, calling compact(0.01) would result in all files that have over 1% of their space deleted to be compacted.
This could be used for my use case as well as several others. It also would be a useful tool for compaction performance measurement.
The text was updated successfully, but these errors were encountered:
scottcarey
pushed a commit
to scottcarey/HaloDB
that referenced
this issue
Dec 3, 2019
Add the 'forceCompaction' method to HaloDB,
which takes a compactionThreshold value and
will trigger compaction on all files that have
stale data above the threshold.
Additionally clean up how pauseCompaction()
works so that it awaits pending compactions.
One of my use cases involves building a large K/V dataset in one location, then closing the data store, transfering and replicating the contents to other locations and initializing them elsewhere.
For this use case, I would like to have a method to do manual compaction.
Perhaps a method
void compact(float threshold)
that compacts all data files that have more thanthreshold
ratio of overwritten bytes would be best. For example, callingcompact(0.01)
would result in all files that have over 1% of their space deleted to be compacted.This could be used for my use case as well as several others. It also would be a useful tool for compaction performance measurement.
The text was updated successfully, but these errors were encountered: