Skip to content

Implement compaction #4

@mrdlm

Description

@mrdlm

MangoDB data files are inefficient stores of data. Every update to an existing row is implemented as a new line at the end of an active file. This means over time we're wasting valuable disk space with stale data.

Implement the compaction algorithm which runs with a configurable frequency that would read all the data files, create a merged data file with only the latest values for a key, and then deletes the stale data files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions