Home icon

Use pgactive for rolling major version upgrades in Amazon RDS for PostgreSQL

Database Blog



The article discusses using pgactive for performing rolling major version upgrades in Amazon RDS for PostgreSQL, offering a method to minimize downtime and complexity during database version transitions.

  • Pgactive enables active-active replication between different PostgreSQL versions
  • Allows seamless database upgrades with minimal application interruption
  • Supports multi-tenant environments by selectively replicating specific schemas or databases
  • Provides built-in conflict detection and resolution mechanisms
  • Enables easy rollback to the previous database version if needed

The solution involves setting up replication between the source (v14.12) and target (v16.3) databases, configuring pgactive parameters, and gradually shifting application traffic to the new database version.

Key benefits include reduced downtime, flexible migration strategies, and the ability to progressively upgrade applications in multi-tenant environments.



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

Feb 21
2025
Amazon RDS for PostgreSQL supports minor versions 17.4, 16.8, 15.12, 14.17, 13.20
Feb 26
2025
Upgrade strategies for Amazon Aurora PostgreSQL and Amazon RDS for PostgreSQL 12
Feb 13
2025
Amazon RDS for PostgreSQL supports minor versions 17.3, 16.7, 15.11, 14.16, 13.19
May 28
2025
Automate Amazon RDS for PostgreSQL major or minor version upgrade using AWS Systems Manager and Amazon EC2

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.