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

demandé il y a 2 mois173 vues
1 réponse
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
EXPERT
Mike_L
répondu il y a un mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions