Performing a Schema Assessment¶
To assess an Oracle database schema for compatibility with EDB Postgres Advanced Server, you must:
Navigate to the Migration Portal.
Enter your EDB credentials.
Click
Newto create a new project.
The Migration Portal New project dialog.¶
Figure 3-5: The Migration Portal New project dialog box
On the
New projectdialog box, enter the project name in theProject namefield.Specify project details:
Select the radio button next to the
Application interface.Select a
Source DBandVersionfor the source.Select the
Target DBandVersionfor the target.
Click
Choose fileto upload the .SQL file generated by the latest EDB DDL Extractor for Oracle Database.
Note!! Note - You should not modify the .SQL file. - Only the .SQL file generated by the latest EDB DDL Extractor can be uploaded.
For more information, refer to the [Schema Extraction](01_mp_schema_extraction/#mp_schema_extraction) section.
Check the box next to
Add Index Prefixto specify an index prefix (idx) when creating a project to ensure better assessment results, as EDB Postgres Advanced Server does not support the same name for tables and indexes.Click
Create & assessto create a new project and to assess the schemas.
The Schema analysis result.¶
Figure 3-6: The Schema analysis result
The analysis tool will review every construct and execute repair actions to improve compatibility with EDB Postgres Advanced Server and flag any remaining errors that require manual intervention.
Verify the DDL objects (e.g., TABLES) that do not show a 100% success ratio.
Verifying the DDL objects.¶
Figure 3-7: Verifying the DDL objects
Click the objects that are not compatible with EDB Postgres Advanced Server and view the details. At the bottom of the middle panel, you can view repair action details.
Incompatible objects are identified.¶
Figure 3-8: Incompatible objects are identified
Refer to the Knowledge Base information in the right panel to locate the possible workarounds for the objects that are not immediately compatible with EDB Postgres Advanced Server. You can also view the Knowledge Base information on the Portal Wiki page.
Assessment result with errors.¶
Figure 3-9: Assessment result with errors
On the
Knowledge Basetab, you can enter the error message for the incompatible objects with EDB Postgres Advanced Server and clickSearch.The object detail panel displays the workaround or the resolution for the failed object. You can manually make the changes on the
Assessmenttab for that object and clickReassess.
Note!! Note If any failed object passes while reassessing, the dependent objects for that object are also reassessed.
Workaround or resolution for incompatible objects.¶
Figure 3-10: Workaround or resolution for incompatible objects
Similarly, you can make all incompatible objects compatible.
Note!! Note If the information or workaround for incompatible objects 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 see, Schema Migration.
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.
Select schemas for reports.¶
Figure 3-11: Select schemas for reports
To generate a report:
Click the
Reportbutton to access the schema selection dialog.Select the schemas that you wish to include in the report.
Click
Generateto generate the onscreen report.
The Schema Assessment Report.¶
Figure 3-12: The Schema Assessment Report
You can optionally select Generate PDF to save the report in
.pdf format. You can also view the count of distinct repair handlers
applied to the DDLs under the selected schemas.
The saved pdf report.¶
Figure 3-13: The saved pdf report