Performing a Schema Assessment

To assess an Oracle database schema for compatibility with Advanced Server, you must:

  1. Use SQL*Plus or SQL Developer to connect to your Oracle database. You must connect with a database role that has SELECT_CATALOG_ROLE or SELECT ANY DICTIONARY privileges.
  1. Invoke the DDL Extractor with the command:

    SQL>@edb_ddl_extractor.sql.

    The EDB DDL Extractor uses the SQL*Plus ACCEPT command to retrieve a list containing one or more schema names; the list should use a comma (,) delimiter. You can enter a maximum of 240 bytes. The maximum length of a schema name is 30 characters and you can provide 7 to 8 schema names.

  2. Enter the path where the extraction file will be created.

    On Linux:

    Enter the schema name to extract the DDLs:

    schema_name

    Enter the path to store DDL file:

    /home/oracle/extracted_ddls/

    On Windows:

    Enter schema name to extract the DDLs:

    HR

    Enter the path to store DDL file:

    C:/Extracted_DDL/

  3. Navigate to the Migration Portal .

  4. Enter your EDB credentials.

  5. Click the CREATE PROJECT icon to create a new project.

migration portal image

The Migration Portal New project dialog.

  1. On the New project dialog, enter the project name in the Project name field.

  2. Specify project details:

    • Select the radio button next to the Application interface.
    • Select a Source DB and Version for the source.
    • Select the Target DB and Version for the target.
  3. Click Choose file to upload the .SQL file generated by the latest EDB DDL Extractor for Oracle Database.

    Note: You should not modify the .SQL file.

  4. Click Create to create new project and to assess the schemas.

migration portal image

The Schema analysis result.

The analysis tool will review every construct, execute repair actions to improve compatibility with Advanced Server, and flag any remaining errors that require manual intervention.

  1. Verify the DDL objects (e.g., TABLES) that do not show a 100% success ratio.
migration portal image

Verifying the DDL objects.

  1. Click the objects that are not compatible with EDB Postgres and view the details.
At the bottom of the middle panel, you can view repair action details.
migration portal image

Incompatible objects are identified.

  1. Refer to the Knowledge Base information in the right panel, to check the possible workarounds for the objects that are not immediately compatible with Advanced Server.
Note: You can also view the Knowledge Base information on Portal Wiki page.
assessment result with errors

Assessment result with errors.

  1. On the Knowledge Base tab, you can enter the error message for the incompatible objects with Advanced Server and click Search.
The object detailed panel displays the workaround or the resolution for the failed object. You can manually make the changes on the Assessment tab for that object, and click Reassess.

Note: If any failed object passes while reassessing, the dependent objects for that object are also reassessed.

resolution for an incompatible object

Workaround or resolution for incompatible object.

Similarly, you can make all the incompatible objects compatible.

Please note: If the object is not available in the Knowledge Base, please contact the support team for assistance.

When you have finished working with the DDL, you can either download the modified EDB compatible DDL as a .sql file or migrate the schemas to a CDS cluster.

Generating an Assessment Report

Migration Portal’s report functionality provides a high-level assessment summary of the schemas assessed for your project. In addition, the report provides details about the failed objects and the cause of failure.

migration portal image

Select schemas for reports.

To generate a report:

  1. Click the Report button to access the schema selection dialog.
  2. Select the schemas that you wish to include in the report.
  3. Click Generate to generate the onscreen report.
migration portal image

The Schema Assessment Report.

You can optionally select Generate PDF to save the report in .pdf format.

migration portal image

The saved pdf report.