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.