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

Jun 3
2026
Migrating data from Oracle to Amazon Aurora DSQL
Jun 10
2026
How to migrate from Oracle to Amazon Aurora PostgreSQL using AWS CloudFormation (Part 1)
Feb 8
2024
Migrate Oracle collections to Amazon Aurora PostgreSQL-Compatible Edition or Amazon RDS for PostgreSQL
Sep 11
2024
Migrate an Oracle database to Amazon RDS for Oracle using Oracle GoldenGate Microservices Architecture

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.