Data cleanup

Inspect MongoDB storage and run manual cleanup for old documents.
{{ error }}
Collections
{{ overview.global.collections || 0 }}
Data size
{{ bytes(overview.global.dataSizeBytes) }}
Total size
{{ bytes(overview.global.totalSizeBytes) }}
Collections
Collection Count Data Storage Indexes
{{ c.name }} {{ c.count }} {{ bytes(c.sizeBytes) }} {{ bytes(c.storageSizeBytes) }} {{ bytes(c.totalIndexSizeBytes) }}

Dry run

Loading fields...
Available fields: {{ availableFields.join(', ') }}
Candidates: {{ dryRun.candidateCount }}
Estimated reclaim: {{ bytes(dryRun.estimatedReclaimableBytes) }}
Cutoff: {{ dryRun.cutoffIso }}

Execute cleanup

This operation is destructive. Dry run first, then confirm execution.

Operation recap:
Collection: {{ form.collection }}
Older than: {{ form.olderThanDays }} days
Date field: {{ form.dateField }}
Delete limit: {{ form.limit }}
Select a collection in the dry run section to see operation details.
Deleted: {{ execution.deletedCount }}
Duration: {{ execution.durationMs }} ms
Limit: {{ execution.limitApplied }}

Confirm Delete Operation

You are about to permanently delete documents from:
Collection: {{ form.collection }}
Older than: {{ form.olderThanDays }} days
Date field: {{ form.dateField }}
Max documents: {{ form.limit }}
Type the collection name "{{ form.collection }}" to confirm: