Skip to content

Allow block records to not be written to the database. #160

Description

@crass

What problem would this solve?

The database can grow quite large and the majority of records will be block records. However, if the user never does a partial dedupe, these records are never used. To get an idea, a fully mapped 1Tb file need to store 8Gb of digest data when using 4K blocks.

Note: One may wonder, "why use 4K blocks when not doing a partial dedupe?" Because extents are filesystem block aligned, not oans block aligned, having the block sizes be the same increases the chance that two extents contains the same data.

Proposed solution

Allow the user to optionally disable storing block records to the database.

Alternatives considered

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions