Data cleanup
Inspect MongoDB storage and run manual cleanup for old documents.
Refreshing...
Refresh
{{ 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
Collection
Select collection
{{ c.name }}
Older than days
Date field
Loading fields...
Available fields:
{{ availableFields.join(', ') }}
Running...
Run dry run
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.
Delete limit for this run
I understand this deletes data permanently.
Executing...
Execute cleanup
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:
Deleting...
Delete Documents
Cancel