OceanBase logo

OceanBase

A unified distributed database ready for your transactional, analytical, and AI workloads.

DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Resources

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS

OceanBase Cloud

OceanBase Database

Tools

Connectors and Middleware

QUICK START

OceanBase Cloud

OceanBase Database

BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Company

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

International - English
中国站 - 简体中文
日本 - 日本語
Sign In
Start on Cloud

A unified distributed database ready for your transactional, analytical, and AI workloads.

DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS
OceanBase CloudOceanBase Database
ToolsConnectors and Middleware
QUICK START
OceanBase CloudOceanBase Database
BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

Start on Cloud
编组
All Products
    • Databases
    • iconOceanBase Database
    • iconOceanBase Cloud
    • iconOceanBase Tugraph
    • iconInteractive Tutorials
    • iconOceanBase Best Practices
    • Tools
    • iconOceanBase Cloud Platform
    • iconOceanBase Migration Service
    • iconOceanBase Developer Center
    • iconOceanBase Migration Assessment
    • iconOceanBase Admin Tool
    • iconOceanBase Loader and Dumper
    • iconOceanBase Deployer
    • iconKubernetes operator for OceanBase
    • iconOceanBase Diagnostic Tool
    • iconOceanBase Binlog Service
    • Connectors and Middleware
    • iconOceanBase Database Proxy
    • iconEmbedded SQL in C for OceanBase
    • iconOceanBase Call Interface
    • iconOceanBase Connector/C
    • iconOceanBase Connector/J
    • iconOceanBase Connector/ODBC
    • iconOceanBase Connector/NET
icon

OceanBase Migration Assessment

V4.2.3Enterprise Edition

  • Product Introduction
    • Overview
    • Application scenarios
    • System architecture
    • Product form
  • Install OMA
  • Compatibility assessment
    • Overview
    • 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

Download PDF

Overview Application scenarios System architecture Product form Install OMA Overview Assess the compatibility with objects Assess the compatibility with SQL statements Assess the compatibility with business code Export SQL statements from an OceanBase database Overview Assess an Oracle database Assess a MySQL database Assess a TiDB database Assess a PostgreSQL database Assess a DB2 LUW database 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
OceanBase logo

The Unified Distributed Database for the AI Era.

Follow Us
Products
OceanBase CloudOceanBase EnterpriseOceanBase Community EditionOceanBase seekdb
Resources
DocsBlogLive DemosTraining & Certification
Company
About OceanBaseTrust CenterLegalPartnerContact Us
Follow Us

© OceanBase 2026. All rights reserved

Cloud Service AgreementPrivacy PolicySecurity
Contact Us
Document Feedback
  1. Documentation Center
  2. OceanBase Migration Assessment
  3. V4.2.3
iconOceanBase Migration Assessment
V 4.2.3Enterprise Edition
Enterprise Edition
  • V 4.4.2
  • V 4.2.5
  • V 4.2.4
  • V 4.2.3
  • V 4.2.2
  • V 4.2.0
  • V 3.3.2

Assess an Oracle database

Last Updated:2026-04-14 07:41:18  Updated
share
What is on this page
Prerequisites
Run the assessment command
View an assessment report
View the assessment report in the .pdf format
View the assessment report in the HTML format

folded

share

In the assessment of an Oracle database, objects and SQL statements are assessed, and the database profiling is performed. You can select the required assessment type by specifying the analyze-types parameter.

Prerequisites

OceanBase Migration Assessment (OMA) is installed. For more information, see Install OMA.

Run the assessment command

Go to the installation directory of OMA and run start.sh with reference to the following sample statement. For more information about the parameters in the statement, see Product form. In Microsoft Windows, replace sh bin/start.sh with start.bat.

sh bin/start.sh \
# The task name, which can be set to any value.
--name TOTAL_TEST \
# The assessment mode. ANALYZE_TOTAL indicates a database assessment.
--mode ANALYZE_TOTAL              \
# The assessment type. Valid values: OBJECT, SQL, and PORTRAIT. OBJECT indicates the assessment of objects. SQL indicates the assessment of SQL statements. PORTRAIT indicates the generation of a database profile.  
--analyze-types OBJECT,SQL,PORTRAIT  \
# The data source. DB indicates a database.
--from-type DB \                 
# The assessment mode.
--evaluate-mode SOURCE_TARGET \  
# The type of the source database.
--source-db-type ORACLE \        
# The version of the source database.
--source-db-version 11g \  
# The address of the source database.      
--source-db-host xxx.xxx.xxx.xxx \    
# The port of the source database.       
--source-db-port port \     
# The username of the source database.     
--source-db-user username \
# The password of the source database.            
--source-db-password password \         
# The service name of the source database. This parameter can be replaced with --source-db-sid, which indicates the SID.
--source-db-service-name orcl11g.us.oracle.com \
# The type of the destination database.
--target-db-type OBORACLE \      
# The version of the destination database.
--target-db-version 3.1.20 \
# The schema to be assessed. If you do not specify this parameter, all schemas are assessed by default.
--schemas OBDBA,DATAX,DC01,CBS,FUND,TEST \   
# Indicates whether to enable the tuning mode. "true" indicates the presence of this parameter. "false" indicates the absence of this parameter.
--tuning-mode \   
# The source of the database information required for tuning.
--metadata-from jdbc

After you run the preceding commands, you can view the progress in real time.

View an assessment report

After the assessment is completed, OMA generates an assessment report in the .pdf format in the report directory and an assessment report in the HTML format in the reportTool directory.

View the assessment report in the .pdf format

To view the assessment report in the .pdf format, go to the report directory and open the PDF file of the name in the path displayed in the CLI.

View the assessment report in the HTML format

To view the assessment report in the HTML format, perform the following steps:

  1. Go to the reportTool directory, double-click the index.html file.

  2. On the page that appears, click Authorize and View Report.

  3. Select and open the oma.sqlite file.

    Generally, the oma.sqlite file is stored in the db folder under the root directory of OMA.

  4. On the page that appears after you open the oma.sqlite file, click Select Report in the upper-right corner and select the migration assessment report that you want to view from the drop-down list.

    On the migration assessment page, you can click the SQL Assessment Overview or Object Assessment Overview tab, or Database Profile to view more information.

    • SQL Assessment Overview

      On this tab, you can view information in the SQL Compatibility and Summary of SQL Incompatibilities sections.

    • Object Assessment Overview

      On the Object Assessment Overview tab, you can view information in the General Compatibility and Compatibility Details sections.

    • Database Profile

      You can click Database Profile in the upper-right corner of the page to view more information in the Database Instance Overview, Special Business Statistical Tables, Special SQL Statement Statistical Tables, Data Volume Analysis, and Abnormal SQL Statements in Original Database sections.

      Special business statistical table Description
      Tables Without Indexes The tables without indexes.
      Tables Without Visits The tables that were not read or written during the assessment.
      Tables Without Primary Keys The data tables without primary keys or non-null unique keys.
      Tables Without Updates The tables that were not updated during the assessment.
      Large Data Tables The tables that have more than 1 million rows each.
      Frequently Accessed Tables The tables that experienced more than 10,000 reads or writes per second.
      Tables With High Growth The tables that experienced more than 1,000 rows of writes per second.

Previous topic

Overview
Last

Next topic

Assess a MySQL database
Next
What is on this page
Prerequisites
Run the assessment command
View an assessment report
View the assessment report in the .pdf format
View the assessment report in the HTML format