Skip to content

Document history retention #45

Description

@deptyped

Hello!

I noticed that MVCC keeps old document and index revisions, so with frequently updated data the database can keep growing even when the actual live data stays small. It would be useful to have configurable retention, similar to Convex's DOCUMENT_RETENTION_DELAY. Something like:

CONCILE_DOCUMENT_RETENTION_DELAY=14d
CONCILE_INDEX_RETENTION_DELAY=...

A background GC could clean up old revisions while keeping the history needed for MVCC reads.

Thank you for the project, Concile looks really promising!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions