Aurora PG13 to PG14 Migration

来自linuxsa wiki
Evan留言 | 贡献2026年4月9日 (四) 14:03的版本
跳转到导航 跳转到搜索

parameter compare

cluster parameter compare


instance parameter compare



直接获取 AWS 官方 RDS PG14 默认全部参数(不需要任何权限)

aws ssm get-parameters-by-path   --path /aws/rds/parameter/postgres14/   --region ap-east-1   --no-sign-request   --output json > pg14-default-parameters.json

回滚方案

能从快照恢复:

    RDS → 快照 → 选中升级前的快照
    恢复为新实例(或覆盖原实例)
    恢复后版本回到 PG13

aws cli
aws rds restore-db-instance-from-db-snapshot \
  --db-instance-identifier YOUR_DB_NAME_RESTORE \
  --db-snapshot-identifier before-pg14-upgrade \
  --region ap-east-1