- Newest
- Most votes
- Most comments
Unfortunately, you cannot directly access the specific log file mentioned in the error message as it's located within the internal RDS infrastructure. However, there are a few steps you can take to troubleshoot and gather more information about the upgrade failure:
-
Check CloudWatch Logs: RDS typically streams its logs to CloudWatch. You might find relevant information about the upgrade process and any errors in the PostgreSQL log group for your RDS instance.
-
Review the PostgreSQL error logs: Connect to your RDS instance and query the PostgreSQL error logs using SQL commands. This might provide additional context about the upgrade failure.
-
Use the AWS RDS console: Navigate to the RDS console and check the "Events" tab for your database instance. This often contains important notifications about upgrade attempts and failures.
-
Contact AWS Support: If you have an appropriate support plan, you can open a ticket with AWS Support. They have access to more detailed logs and can provide specific guidance on your upgrade issue.
-
Pre-upgrade checks: Before attempting the upgrade again, ensure that your database is in a consistent state. Run ANALYZE and VACUUM operations, and check for any corrupt indexes or tables.
-
Consider using pg_dump and pg_restore: For databases smaller than 100 GB, you might want to consider using pg_dump to export your data from the 14.12 instance, create a new instance with the desired version (15 or 16), and then use pg_restore to import the data. This approach can sometimes bypass issues encountered during in-place upgrades.
-
Check compatibility: Ensure that all your database objects, extensions, and custom functions are compatible with the target PostgreSQL version. Incompatibilities can cause upgrade failures.
If you continue to face issues, it's recommended to engage with AWS Support for a more in-depth investigation of the upgrade failure.
Sources
Troubleshooting Amazon Managed Workflows for Apache Airflow - Amazon Managed Workflows for Apache Airflow
PostgreSQL pg_dump and pg_restore utility - Database Migration Guide
Choosing a major version for an RDS for PostgreSQL upgrade - Amazon Relational Database Service
answered 2 years ago
Relevant content
asked 3 years ago
