AWS上的RDS大小每天呈指数增长。

huangapple go评论63阅读模式
英文:

The size of RDS on AWS is growing exponentially every day

问题

我在AWS上设置了一个RDS。我在试用期间使用免费域名。数据库中只有一个表,表中的数据非常少。但是当我查看免费空间使用情况时,它每天几乎增加了2 GB。我认为他每天都会备份一次数据库实例,我无法删除那些备份。是否有办法关闭此备份或让它每月、每周执行?

当我想要删除快照时,我会收到以下警告。我必须禁用RDS才能删除它吗?

您无法删除系统快照。要删除活动DB实例的系统快照,请修改DB实例并缩短自动备份窗口。要删除已删除实例的系统快照,请删除保留的自动备份。

更新:备份周期被设置为1天。我已经进行了更改。如何删除过去的备份?

英文:

I set up an RDS on AWS. I'm using the free domain for my trials. There is only one table in the database and there is very little data in the table. But when I enter the free space used, it increases by almost 2 GB every day. I think he backs up one instance of the database every day and I can't delete those backups. Is there a way to turn this backup off or have it taken monthly, weekly?

I get the following warning when I want to delete the snapshot. Do I have to disable RDS to delete it?

You can't delete a system snapshot. To remove system snapshots for an active DB instance, modify the DB instance and reduce the automated backup window. To remove system snapshots for a deleted instance, delete the retained automated backup.

Update: The backup period was selected as 1 day. I changed this. How can I delete past backups?

AWS上的RDS大小每天呈指数增长。

AWS上的RDS大小每天呈指数增长。

答案1

得分: 1

你不能手动删除系统快照,相反,你可以进入RDS,点击修改,然后进入备份,将备份保留期更改为较小的值,这将意味着旧的快照将在这么多天后自动删除,或者可以保持为0,如果你不想要任何备份。

如果你想删除旧的快照,如果通过将保留期更改为0来删除它们,你将不得不删除RDS,并勾选删除其快照的框。

英文:

You cannot delete a system snapshot manually, rather you can go to RDS, click Modify and go to Backup and change the Backup Retention Period to a lesser value, which will mean that old Snapshots will automatically get deleted after these many days or can keep 0 if you dont want any backupAWS上的RDS大小每天呈指数增长。

And if you want to delete older snapshots, if they dont get deleted by changing the period to 0, you would have to delete the RDS and check the box to delete its snapshots as well

huangapple
  • 本文由 发表于 2023年7月13日 22:13:39
  • 转载请务必保留本文链接:https://go.coder-hub.com/76680362.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定