Home icon

Migrate Oracle collections to Amazon Aurora PostgreSQL-Compatible Edition or Amazon RDS for PostgreSQL

Database Blog



This article discusses how to migrate Oracle collections to Amazon Aurora PostgreSQL-Compatible Edition or Amazon RDS for PostgreSQL. It provides examples and best practices for migrating simple collections, composite collections, nested composite collections, multi-dimensional collections, and composite multi-dimensional collections from Oracle to PostgreSQL.

Specifically, the article covers:

  • Overview of representing Oracle collections in PostgreSQL using arrays
  • Migrating a simple collection using BULK COLLECT to PostgreSQL arrays with the array_agg function
  • Migrating a composite collection to PostgreSQL by creating user-defined types and domains
  • Migrating a nested composite collection by creating nested types in PostgreSQL
  • Migrating a multi-dimensional collection to PostgreSQL by creating multi-dimensional array domains
  • Migrating a composite multi-dimensional collection by combining nested types and multi-dimensional arrays
  • Conclusion and clean up steps


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

Jan 8
2024
Migrate an Oracle associative array to Amazon Aurora PostgreSQL or Amazon RDS for PostgreSQL
Jan 17
2024
Migrate JSON data from Oracle’s CLOB to Amazon Aurora PostgreSQL and Amazon RDS for PostgreSQL
Oct 28
2025
Migrate Oracle reference partitioned tables to Amazon RDS or Aurora PostgreSQL with AWS DMS
Jun 10
2026
How to migrate from Oracle to Amazon Aurora PostgreSQL using AWS CloudFormation (Part 1)

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.