RDS Storage full with 1.6TB storage while the DB is only 20 GB

0

My databases in total size are 20 GB. But the RDS instance had a storage full error and enabling auto scaling it went to 1.6 TB.

20 GB vs 1.6 TB is crazy. I have looked at logs, double checked DB size etc. but cannot find any usual suspects. Is there a process to identify the culprit?

  • can you check the CloudWatch metrics for your RDS instance to understand the pattern of storage growth. Look for sudden spikes or abnormal patterns that coincide with the increase in storage

已提问 2 个月前172 查看次数
1 回答
1

Is this RDS PostgreSQL or MySQL?

For PostgreSQL, the VACUUM command can be used to remove dead tuples which occupy disk space. Refer to Understanding autovacuum in Amazon RDS for PostgreSQL environments for more information.

After that, you may want to restore database snapshot to a new RDS instance.

AWS
专家
Mike_L
已回答 1 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则