{
  "id": "aws/rds-storage-full-autoscaling-failure",
  "signature": "MySQL server has gone away: error 1114 (HY000) The table is full - Storage autoscaling failed to increase capacity",
  "signature_zh": "MySQL 服务器已断开连接：错误 1114 (HY000) 表已满 - 存储自动扩展未能增加容量",
  "regex": "MySQL server has gone away: error 1114 \\(HY000\\) The table is full",
  "domain": "aws",
  "category": "resource_error",
  "subcategory": null,
  "root_cause": "RDS instance storage is full and automatic storage scaling failed due to reaching the maximum storage limit, insufficient IAM permissions for the autoscaling policy, or a storage type that does not support autoscaling (e.g., magnetic).",
  "root_cause_type": "generic",
  "root_cause_zh": "RDS 实例存储已满，由于达到最大存储限制、自动扩展策略的 IAM 权限不足或存储类型不支持自动扩展（例如，磁性存储），自动存储扩展失败。",
  "versions": [
    {
      "version": "MySQL 8.0.35",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "RDS 2024-09-01",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "AWS CLI 2.18.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "InnoDB does not release disk space to the OS after deletes; the table remains full until OPTIMIZE is run.",
      "fail_rate": 0.75,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Storage is still full; the error will reappear immediately after restart.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "If storage fills again, autoscaling will fail if not re-enabled or if the new limit is still too low.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Increase storage manually via the AWS CLI: `aws rds modify-db-instance --db-instance-identifier mydb --allocated-storage 200 --apply-immediately`",
      "success_rate": 0.95,
      "how": "Increase storage manually via the AWS CLI: `aws rds modify-db-instance --db-instance-identifier mydb --allocated-storage 200 --apply-immediately`",
      "condition": "",
      "sources": []
    },
    {
      "action": "Enable storage autoscaling with a higher maximum limit: `aws rds modify-db-instance --db-instance-identifier mydb --max-allocated-storage 1000`",
      "success_rate": 0.85,
      "how": "Enable storage autoscaling with a higher maximum limit: `aws rds modify-db-instance --db-instance-identifier mydb --max-allocated-storage 1000`",
      "condition": "",
      "sources": []
    },
    {
      "action": "Run OPTIMIZE TABLE on the affected table to reclaim space: `OPTIMIZE TABLE mytable;` (note: this locks the table and may take time).",
      "success_rate": 0.7,
      "how": "Run OPTIMIZE TABLE on the affected table to reclaim space: `OPTIMIZE TABLE mytable;` (note: this locks the table and may take time).",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "Increase storage manually via the AWS CLI: `aws rds modify-db-instance --db-instance-identifier mydb --allocated-storage 200 --apply-immediately`",
    "Enable storage autoscaling with a higher maximum limit: `aws rds modify-db-instance --db-instance-identifier mydb --max-allocated-storage 1000`",
    "Run OPTIMIZE TABLE on the affected table to reclaim space: `OPTIMIZE TABLE mytable;` (note: this locks the table and may take time)."
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageAutoscaling.html",
  "official_doc_section": null,
  "error_code": "1114",
  "verification_tier": "ai_generated",
  "confidence": 0.87,
  "fix_success_rate": 0.82,
  "resolvable": "true",
  "first_seen": "2024-11-05",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}