This series of articles provides a way for you to assess your current Oracle database environment, figure out your best migration path to Azure, and links to documents that help you make your migratory move. Your migration path can be to an Azure Virtual Machine (VM). It might also be to an Azure Managed Database that is running on an Azure VM.
To migrate an Oracle database to an Azure environment, you have to:
Choose Azure resources as target database.
Decide data migration method to evaluate downtime window.
Figure out how to achieve business continuity and disaster recovery requirements.
This flow chart shows you the steps to move an Oracle database to either a PostgreSQL or a SQL database in Azure. The steps and the details are similar for both migration paths. Pay attention to the schema conversion and the data migration sections.
Download a Visio file of this architecture.
Use Oracle script artifacts to evaluate Oracle database.
Schema conversion is different for both database types:
PostgreSQL: Use ora2pg to convert your Oracle schema.
SQL: Use SQL Server Migration Assistant (SSMA) to convert your Oracle schema.
Data migration is different for both database types:
PostgreSQL: Use Azure Data Migration Service to migrate your Oracle data.
SQL: Use SSMA to migrate your Oracle data.
Test the conversion using functional tests.
Switch the application's connection strings to complete the application cutover.
Oracle database discoveries
You can create and run scripts on your Oracle databases to evaluate how many tables, stored procedures, views, and packages exist in the environment. This table shows an example of the assessment principles:
|Number of tables in schema
|Total number of SP, Trigger, Functions, Views
|Collection Types per schema
|Packages per schema
|Schema Data Size
Migration decision tree
The migration decision tree helps you find the appropriate path of your Oracle database migration.
This article is maintained by Microsoft. It was originally written by the following contributors.
- Amber Zhao | Principal Customer Engineer
To see non-public LinkedIn profiles, sign in to LinkedIn.
What you do next depends on where you wind up on the decision tree:
Cross-cloud connectivity: If you already use Oracle Cloud Infrastructure (OCI), the easy migration path for you is direct interconnection between Azure and OCI. Go to Oracle database migration: Cross-cloud Connectivity.
Lift and shift on Azure VMs: You can deploy your Oracle databases in Azure based on a "bring your own license" model. Go to Oracle VM images and their deployment on Microsoft Azure.
Refactor: You have legacy Oracle code and you prefer using an Azure Managed Service. Go to Oracle database migration: Refactor.
Rearchitect: If you're planning to retire your old code and redesign your architecture, Azure SQL Database Managed Instance is a good option. Go to Oracle database migration: Rearchitect.