Upgrade RDS Postgres engine from 9.6.11 to 10.6 - Migrate to Aurora

0

Hello,
I created an instance from snapshot restore in Frankfurt region running on postgres db engine version 9.6.11-R1.
Next, from instance's modification I selected to upgrade to engine 10.6 and applied immediately.
The upgrade fails, and on cloudwatch upgrade events, I read the following:
There were problems executing ""/rdsdbbin/postgres/bin/pg_restore" --host /rdsdbdata/log/upgrade --port 8193 --username ****** --exit-on-error --verbose --dbname 'dbname='"'"'*****'"'"'' "pg_upgrade_dump_16400.custom" >> "pg_upgrade_dump_16400.log" 2>&1"
Consult the last few lines of "pg_upgrade_dump_16400.log" for
the probable cause of the failure.
I cannot find where this log file is and therefore cannot troubleshoot/finish the upgrade process.
The reason behind this action, is that I need to migrate this instance to Aurora and after experimenting I discovered that 9.6.11 does not support upgrading to Aurora but 10.6 offers this option with migration from snapshot and replica. These options are not visible in the options for 9.6.11.
Please advise for either solutions.
Thank you,
Pantelis

panhas
질문됨 5년 전475회 조회
2개 답변
0
수락된 답변

Hi!

We've encountered same issue lately. Looks like those logs aren't available in RDS console (I'm not sure why?) but you can get those from RDS API (for 14 days).

E.g. using CLI:

aws rds describe-events --source-identifier <yourdatabaseidentifierhere> --source-type db-instance --duration 6720
답변함 5년 전
0

Hi kruczjak-boostcom,
You 've been very helpful! Thank you so much!
By reading the events, we found indexes that were incompatible and had to be dropped in order for the upgrade to finish.
Thanks a lot once again!
Pantelis

panhas
답변함 5년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인