Home icon

Best practices to handle AWS DMS tasks during PostgreSQL upgrades

Database Blog



This article provides comprehensive guidance on handling AWS Database Migration Service (DMS) tasks during PostgreSQL database upgrades, covering both minor and major version upgrades for source and target databases.

  • Minor version upgrades typically require stopping DMS tasks before the upgrade and resuming afterward
  • Major version upgrades are more complex and require careful handling of replication slots
  • For source database major upgrades, key steps include:
    • Stop application connections
    • Verify low task latency
    • Stop DMS tasks
    • Remove existing replication slots
    • Complete the upgrade
    • Create a new CDC-only task or manually create a replication slot
  • Target database upgrades require checking replication instance compatibility

The article emphasizes the importance of careful planning and execution during PostgreSQL upgrades to minimize disruption to database migration processes.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

May 28
2025
Automate Amazon RDS for PostgreSQL major or minor version upgrade using AWS Systems Manager and Amazon EC2
May 5
2025
AWS DMS implementation guide: Building resilient database migrations through testing, monitoring, and SOPs
Apr 30
2024
Perform a side-by-side upgrade in AWS DMS by moving tasks to minimize business impact
Jan 27
2026
Strategies for upgrading Amazon Aurora PostgreSQL and Amazon RDS for PostgreSQL from version 13

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.