Migrating schema from Oracle to an HM-managed database Innovation Release

Before migrating data, your schema must be present on the destination database. There are two ways to handle this, and both start with opening your Migration Portal project and resolving any compatibility issues:

  • Simplified (recommended): Use Migration Portal to resolve incompatibilities only, then let Hybrid Manager (HM) import the schema as part of the migration. HM manages constraint ordering automatically — no manual constraint handling required. Select Schema and data as the migration scope when creating the migration.

  • Manual: Use Migration Portal to resolve incompatibilities and import the schema directly to the destination. You must manage constraint ordering yourself and reapply deferred constraints after data migration completes. Select Data only as the migration scope when creating the migration.

A third scope option, Schema only, is also available when creating a migration in HM. Use this if you want to migrate the database structure without migrating any table data — for example, to validate the schema on the destination before committing to a full migration.

Opening your Migration Portal project

The EDB Postgres AI agent automatically extracts the DDL from your Oracle source and makes it available in Migration Portal. Use Migration Portal to convert and migrate your Oracle schemas.

Prerequisites

Accessing your project

After registering your Oracle database with the EDB Postgres AI agent, a Migration Portal project is created automatically — one per registered database, based on the resource_id in your beacon_agent.yaml.

Warning

Any DDL changes made after the Migration Portal project was created — including new schemas, new tables, updated tables, or deleted tables — are not reflected in the auto-created project.

To find your project:

  1. Navigate to your Oracle database's detailed view. You can get there from either of these paths:

    a. Estate > Migrations > [your database].

    b. [your project] > Migrate > Databases > [your database].

  2. Select the Schemas tab.

  3. Select the project link in the MP Project column to open the Migration Portal's project-scoped workspace for this database.

If no project link appears in the MP Project column, the project wasn't created automatically. Expand the section below to create one manually.

Creating a Migration Portal project manually

Automatic project creation won't trigger if:

See Managing Migration Portal projects for the steps to create — or delete — a project. Once the project is ready, a project link appears — select it to open Migration Portal and begin resolving incompatibilities using the AI Copilot or QuickHelp.


Converting schema and resolving compatibility issues

Use Migration Portal to convert your Oracle DDL to be compatible with EDB Postgres Advanced Server. Use the AI Copilot and QuickHelp to resolve any compatibility issues that arise during conversion. Additional resources:

Note

Migrated PL/SQL bodies (triggers, procedures, functions, and packages) retain unqualified object references from the Oracle source. Review these references in your converted DDL before importing to avoid runtime failures on the destination. See Unqualified object references in migrated PL/SQL bodies for details and workarounds.

Importing schema

Next step

Configure the EDB DMS agent