Skip to content

Manual Compaction #45

@scottcarey

Description

@scottcarey

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionNeed more discussion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions