RDS MySQL已满存储-您当前无法修改存储

我一直遇到RDS MySQL的问题,当我运行一些数据库还原时,RDS最终处于存储已满状态,而当我尝试增加存储时,出现以下错误:

You can't currently modify the storage of this DB instance because the previous storage change is being optimized

与Terraform类似:

Error: Error applying plan:

1 error occurred:
        * module.mysql.module.db_instance.aws_db_instance.rds: 1 error occurred:
        * aws_db_instance.rds: Error modifying DB Instance my-db-name-removed: InvalidParameterCombination: You can't currently modify the storage of this DB instance because the previous storage change is being optimized.
        status code: 400,request id: b26525f4-4291-41dd-aa19-0e76b32355a5

我确实启用了自动缩放,并且我的最大存储阈值远高于分配的存储(180 GB / 500 GB)。我认为它仍然会遇到此问题,因为我的还原占用的空间比RDS能够完成自动缩放操作的速度快(目前这不是我的主要关注,但想了解)。

上次发生这种情况时,它最终在一夜之间自行修复,但是如果我要投入生产,那将是行不通的。

出现此错误后,如何在不重新创建整个RDS实例的情况下增加存储(或删除和回收)?

ztwsiping 回答:RDS MySQL已满存储-您当前无法修改存储

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3114745.html

大家都在问