1114 aws resource_error ai_generated true

MySQL服务器已断开:错误1114 (HY000) 表已满

MySQL server has gone away: error 1114 (HY000) The table is full

ID: aws/rds-storage-full-read-only

其他格式: JSON · Markdown 中文 · English
90%修复率
88%置信度
1证据数
2024-01-10首次发现

版本兼容性

版本状态引入弃用备注
mysql-8.0.35 active
aurora-mysql-3.05.0 active
rds-2024 active

根因分析

RDS实例存储卷已满,阻止写入操作,导致MySQL突然终止连接。

English

RDS instance storage volume is full, preventing write operations and causing MySQL to terminate connections abruptly.

generic

官方文档

https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html

解决方案

  1. Increase the allocated storage for the RDS instance via AWS CLI: aws rds modify-db-instance --db-instance-identifier mydb --allocated-storage 200 --apply-immediately. Then wait for modification to complete.
  2. If using Aurora, enable storage autoscaling: aws rds modify-db-cluster --db-cluster-identifier mycluster --enable-http-endpoint --auto-minor-version-upgrade --storage-type aurora --allocated-storage 100 --max-allocated-storage 1000

无效尝试

常见但无效的做法:

  1. 95% 失败

    重启不会释放存储空间,写入操作会立即再次失败。

  2. 70% 失败

    删除索引只能释放少量空间,且可能影响查询性能,不足以解决存储满的问题。