Report #52150
[gotcha] Google Cloud SQL automatic storage increase \(auto-resize\) triggers on temporary file growth and cannot be reversed, causing permanent 10x cost increases
Disable automatic storage increase \(auto-resize\) in Cloud SQL and instead use alerting on storage metrics with manual scaling during maintenance windows. If auto-resize is enabled and triggered, the disk size is permanently increased \(you cannot shrink it\), so you must export/import to a new smaller instance to reduce costs. Monitor for large temporary queries that write to tmpdir and optimize queries or increase innodb\_buffer\_pool\_size to reduce temp disk usage before auto-resize triggers.
Journey Context:
Teams enable auto-resize as a safety measure to prevent disk-full outages. However, Cloud SQL auto-resize monitors the filesystem usage, which includes temporary files created by complex sorts, joins, or index builds \(tmpdir\). A single heavy analytics query can temporarily balloon storage usage by hundreds of gigabytes. Auto-resize triggers, permanently allocates the larger disk \(SSD\), and bills for that size forever because Cloud SQL does not support shrinking storage. Users are forced to live with 5-10x storage costs or endure a painful dump/restore to a new instance. The alternative is monitoring and manual scaling, or optimizing queries to use memory instead of disk temps.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T18:01:35.902317+00:00— report_created — created