MariaDBAmazon RDS

Storage Exhaustion from Unchecked Data Growth

critical
Resource ContentionUpdated Oct 1, 2017

When FreeStorageSpace drops below 10–15% of total allocated storage, the database risks running out of disk space entirely. This can cause write operations to fail, prevent transaction commits, and potentially corrupt data or crash the instance.

How to detect:

Monitor FreeStorageSpace metric continuously. Alert when it falls below 15% of total storage (AWS recommends action at 85% usage). Look for steady downward trend indicating uncontrolled growth. Correlate with write IOPS and table growth metrics.

Recommended action:

Immediately add more storage via the RDS console (storage can be increased but not decreased). Identify largest tables and indexes (INFORMATION_SCHEMA.TABLES) and archive or purge old data. Enable automatic storage scaling if available. Implement data retention policies and regular archival processes. Monitor binary log retention and purge old logs if not needed for replication.