Home icon
Migrate Oracle reference partitioned tables to Amazon RDS or Aurora PostgreSQL with AWS DMS

Database Blog



This article provides a comprehensive guide for migrating Oracle reference-partitioned tables to Amazon RDS or Aurora PostgreSQL using AWS Database Migration Service (DMS). The key challenges and solutions include:

  • Oracle reference partitioning doesn't have a direct equivalent in PostgreSQL
  • PostgreSQL cannot automatically align child records with parent partitions
  • Solution involves creating an equivalent partitioning scheme in PostgreSQL
  • Using a PostgreSQL BEFORE INSERT trigger to maintain data relationship
  • Configuring AWS DMS to migrate data with specific table mapping rules

The approach ensures data migration maintains the performance benefits of partitioning while transitioning from Oracle to PostgreSQL, using a trigger mechanism to preserve data colocation and relationship between parent and child tables.



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

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.