Migrating Oracle databases to Amazon RDS for PostgreSQL
with DMS Schema Conversion
https://docs.aws.amazon.com/dms/latest/sbs/schema-conversion-oracle-postgresql.html
This walkthrough gets you started with heterogeneous database migration from Oracle
to Amazon RDS for PostgreSQL. To automate the migration, we use the AWS DMS
Schema Conversion. This service helps assess the complexity of your migration and
converts source Oracle database schemas and code objects to a format compatible
with PostgreSQL. Then, you apply the converted code to your target database. This
introductory exercise shows how you can use DMS Schema Conversion for this
migration.
At a high level, this migration includes the following steps:
Use the AWS Management Console to do the following:
o Create a VPC in the Amazon VPC console.
o Create IAM roles in the IAM console.
o Create an Amazon S3 bucket in the Amazon S3 console.
o Create your target Amazon RDS for PostgreSQL database in the
Amazon RDS console.
o Store database credentials in AWS Secrets Manager.
Use the AWS DMS console to do the following:
o Create an instance profile for your migration project.
o Create data providers for your source and target databases.
o Create a migration project.
Use DMS Schema Conversion to do the following:
o Assess the migration complexity and review the migration action
items.
o Convert your source database.
o Apply the converted code to your target database.
This walkthrough takes approximately three hours to complete. Make sure that you
delete resources at the end of this walkthrough to avoid additional charges.
Topics
Migration overview
Prerequisites for migrating Oracle databases to Amazon Aurora MySQL with
DMS schema conversion
Step-by-step Oracle databases to Amazon Aurora MySQL with DMS schema
conversion migration walkthrough
Migration from Oracle databases to Amazon Aurora MySQL with DMS schema
conversion next steps
Migration overview
This section provides high-level guidance for customers looking to migrate from Oracle
to PostgreSQL using DMS Schema Conversion.
DMS Schema Conversion automatically converts your source Oracle database
schemas and most of the database code objects to a format compatible with
PostgreSQL. This conversion includes tables, views, stored procedures, functions, data
types, synonyms, and so on. Any objects that DMS Schema Conversion can’t convert
automatically are clearly marked. To complete the migration, you can convert these
objects manually.
At a high level, DMS Schema Conversion operates with the following three components:
instance profiles, data providers, and migration projects. An instance profile specifies
network and security settings. A data provider stores database connection credentials.
A migration project contains data providers, an instance profile, and migration rules.
AWS DMS uses data providers and an instance profile to design a process that
converts database schemas and code objects.
The following diagram illustrates the DMS Schema Conversion process.
Start the walkthrough by creating the required resources.