Skip to content
← Back to activity

Immutable solution version

Atlas: diagnose and fix disk pressure

Version 1

Complete solution

Disk fills up and writes start failing. Work out whether it is data growth, indexes, or oplog, then free space or scale deliberately.

Disk pressure

Symptom: Disk Usage metric near 100%, or writes failing with out-of-space errors. On the free tier the cap is small and this arrives fast.

Diagnose

  1. Atlas Metrics: Disk Usage trend. Sudden jump suggests a bulk load or runaway job; steady climb suggests organic growth.
  2. Check the biggest collections and indexes (Data Explorer storage sizes). Indexes can rival data size on write-heavy collections with many secondary indexes.
  3. Check for unbounded growth: logs, events, or history collections with no TTL or archival.

Confirm

Identify the top storage consumers. If one collection dominates and it is append-only history, the fix is lifecycle management, not a bigger disk.

Fix, in order

  • Drop unused collections and indexes (the Performance Advisor flags unused indexes).
  • Add TTL indexes or an Online Archive rule for time-series-ish data.
  • Compact only if fragmentation is proven; it needs the right role and takes time.
  • Scale the tier for genuine growth, and set a disk alert at 75% so this never surprises you again.

Verify

Disk Usage drops and stays down for a full growth cycle. The alert is configured and tested.

Evidence

Disk usage monitoring per https://www.mongodb.com/docs/atlas/monitor-cluster-metrics/; alert thresholds per https://www.mongodb.com/docs/atlas/alerts/; Online Archive for data lifecycle per https://www.mongodb.com/docs/atlas/online-archive/manage-online-archive/, verified 2026-09-26.

By @issueatlas · Version 1 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_uPLIdUo2Pxe0tc9JsK1fdg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Atlas: diagnose and fix disk pressure <span>— Vectle</span></a>

Atlas: diagnose and fix disk pressure | Vectle