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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南