All Products
Search
Document Center

ApsaraDB for OceanBase (Deprecated):Overview

Last Updated:Dec 29, 2025

This topic describes the application scenarios and operation process of the compatibility assessment and performance assessment features of the migration assessment service.

Compatibility assessment

The compatibility assessment feature of the migration assessment service systematically analyzes your database objects and SQL statements and provides automatic conversion solutions based on the best practices of migration to OceanBase Database, to significantly lower the technical barrier and reconstruction costs in migration to the cloud.

The migration assessment service assesses the compatibility of objects and SQL or PL/SQL statements of databases, and supports database profiling.

Capability

Description

Database object assessment

  • The compatibility assessment service can directly connect to the source database, automatically obtain information about objects in the source database, and assess the compatibility of the source database with OceanBase Database.

    The following lists the types and versions of databases that support object assessment:

    • Oracle databases: 11g, 12c, 18c, and 19c

    • MySQL databases: 5.6, 5.7, and 8.0

    • DB2 LUW databases (support only file collection for assessment)

    • ApsaraDB for RDS

    • PolarDB MySQL engine

  • The migration assessment service can perform compatibility assessment for DDL statements in Oracle and MySQL databases and DDL statements separated with double dollar signs ($$) in TEXT files.

  • The migration assessment service can be connected to Oracle, MySQL, and DB2 LUW databases from a lightweight client and export DDL statements as files for compatibility assessment.

Assessment of SQL or PL/SQL statements

  • The migration assessment service can be directly connected to an Oracle database, scan the SqlArea view to obtain SQL statements of the corresponding schema, and assess the compatibility of OceanBase Database with these SQL statements.

  • The migration assessment service can assess the compatibility with SQL or PL statements separated with semicolons (;) or double dollar signs ($$) in TEXT files.

  • The compatibility assessment service can directly parse SQL statements from MyBatis and iBatis files for compatibility assessment.

Database profiling

  • The compatibility assessment service can directly connect to a source database instance and obtain the following basic information about the database instance:

    • System information such as the CPU, memory, and disk information

    • Business information such as the table schemas, proportion of tablespace to disk space, table growth rate, whether indexes are used in tables, and whether tables have no visits

    • Business SQL information such as whether full table scans are performed and whether multiple JOIN and WITH statements exist

  • The migration assessment service can provide optimization and rewrite solutions for certain SQL statements.

Three types of compatibility assessments are supported: online assessment, offline assessment, and incremental DDL assessment. Their procedures are as follows.

Online assessment and offline assessment

  1. Collect database objects.

    You can manually collect database object definitions or use the migration assessment collector, which automatically collects database objects. For more information, see Collect database objects by using the migration assessment collector.

    • Online assessment requires connecting to the target database and collecting source database information such as database objects, SQL statements, and database load.

    • Offline assessment requires uploading SQL, MyBatis, or iBatis files, or files collected by the migration assessment service.

  2. Execute an online assessment or offline assessment task.

  3. Execute assessment and generate a report.

    After the online or offline assessment task starts, the migration assessment service generates an assessment report based on the assessment type you selected.

  4. View and download the assessment report.

    After the assessment report is generated, you can view and download it. For more information, see View and download a compatibility assessment report.

Incremental DDL assessment

  1. Enter the DDL statements for assessment.

  2. Submit an incremental DDL assessment task.

  3. In the Incremental DDL Assessment dialog box, view information in the Assessment Result and Assessment Details sections.

    For more information, see Execute incremental DDL assessment.

Performance assessment

In compatibility assessment, the migration assessment service performs feasibility analysis and provides intelligent conversion solutions for smooth migration of objects and SQL statements from a heterogeneous database. Before you switch your business applications to OceanBase Database, the migration assessment service also performs a thorough performance assessment.

The performance assessment procedure is as follows:

  1. Obtain the traffic file of the RDS_MySQL instance or PolarDB-X instance and upload it to an Object Storage Service (OSS) bucket. For more information, see Obtain the traffic files of an instance.

  2. Create a performance assessment task in the migration assessment console.

    Three types of performance assessment tasks are supported: Full Assessment, SQL File Parsing, and SQL File Replay. You can select an assessment task type as needed. For more information, see Create a performance assessment task.

  3. Start the performance assessment task.

  4. After the performance assessment task is completed, a load replay report is generated.

Scenarios

The migration assessment service is applicable before you migrate data from your database system to OceanBase Database. You can use the migration assessment service to create a profile of the source database so that you can understand the current database topology, application topology, and overall database load and thereby develop proper migration strategies.

In addition, the migration assessment service is capable of compatibility assessment for source database objects and SQL statements. This enables you to understand and handle the incompatibilities of the source database with OceanBase Database before migration, so as to ensure smooth data migration.

You can also assess the performance of OceanBase Database in the following scenarios:

  • When you replay application workloads of migration from heterogeneous databases such as RDS for MySQL and PolarDB-X to OceanBase Database

  • When you perform a stress test on business changes or performance bottlenecks of a quasi-production cluster or a production cluster during off-peak hours.