OceanBase
English日本語简体中文
Docs Home
Products
Integrations
Release Notes

Databases

OceanBase DatabaseOceanBase Cloud OceanBase Best Practices

Tools

OceanBase Cloud PlatformOceanBase Migration ServiceOceanBase Developer CenterOceanBase Migration AssessmentOceanBase Admin ToolOceanBase Loader and DumperOceanBase DeployerKubernetes operator for OceanBaseOceanBase Diagnostic Tool OceanBase Binlog Service

Connectors and Middleware

OceanBase Database Proxy OceanBase Connector/C OceanBase Connector/J OceanBase Connector/ODBC OceanBase Connector/NETOceanBase Command-Line Client

Databases

OceanBase DatabaseOceanBase Cloud OceanBase Best Practices

Connectors and Middleware

OceanBase Database Proxy OceanBase Connector/C OceanBase Connector/J OceanBase Connector/ODBC OceanBase Connector/NETOceanBase Command-Line Client

Tools

OceanBase Cloud PlatformOceanBase Migration ServiceOceanBase Developer CenterOceanBase Migration AssessmentOceanBase Admin ToolOceanBase Loader and DumperOceanBase DeployerKubernetes operator for OceanBaseOceanBase Diagnostic Tool OceanBase Binlog Service
OceanBase DatabaseOceanBase Cloud ToolsConnectors and MiddlewareLifecycle Support Policy

OceanBase Migration Assessment

V3.3.2Enterprise Edition
  • Product Introduction
    • Features
    • Application scenarios
    • System architecture
    • Product form
  • Install OMA
  • User Guide
    • Compatibility assessment
      • Assess the compatibility with objects
      • Assess the compatibility with SQL statements
      • Assess the compatibility with business code
      • Export SQL statements from an OceanBase database
      • Database assessment
        • Overview
        • Assess an Oracle database
        • Assess a MySQL database
        • Assess a TiDB database
        • Assess a PostgreSQL database
        • Assess a DB2 LUW database
    • Performance assessment
      • Standalone edition
        • Overview
        • Assess the performance differences between an Oracle database and an OceanBase database
        • Assess the performance differences between a MySQL database and an OceanBase database
        • Assess the performance differences between different versions of OceanBase Database
      • Distributed edition
        • Overview
        • Deploy workers and clients
        • Analyze and replay files

Download PDF

Document Feedback
  1. Documentation Center
  2. OceanBase Migration Assessment
  3. V3.3.2

Assess the compatibility with business code

Last Updated:2026-09-04 08:16:35

Assessment commands
Assessment report

OceanBase Migration Assessment (OMA) allows you to assess the compatibility with business code and check whether the Oracle Call Interface (OCI) and Pro*C interfaces used in business code are supported. OMA also allows you to assess Java code.

Notice:

If you encounter any problems when using this feature, contact OMA Technical Support.

Assessment commands

sh bin/start.sh --name test_11555g \
--mode ANALYZE \    # A fixed value.
--from-type CODE \  # A fixed value.
--evaluate-mode APPLICATION_CODE \ # A fixed value.
--source-file "/Users/Downloads/ccode/" # The directory where the code file is stored.

OMA allows you to assess business code in a folder at the same time. However, to avoid impact on the assessment speed, we recommend that the folder should contain no more than 2,000 files. If the number of files exceeds 2,000, you can assess them in several batches.

Assessment report

After the assessment is completed, a report is generated in the report directory. Check the basic.html file.

The assessment report lists the names of the unsupported files and interfaces, corresponding line numbers, and context of error statements. This HTML file does not contain complete source code. For details, check the error.txt file in the same directory.

Previous topic

Assess the compatibility with SQL statements
Last

Next topic

Export SQL statements from an OceanBase database
Next
on this page
Assessment commands
Assessment report