Advanced Database & Application Migration (ADAM) allows you to scan static code to identify the SQL statements that need to be transformed. ADAM transforms the SQL statements that can be automatically replaced, and provides suggestions if some SQL statements cannot be automatically replaced.
The type of the source database is Oracle, Db2, or Teradata.
Create a transformation project
- Log on to the ADAM console.
- In the left-side navigation pane, click Evaluate & Transform App.
- In the Transform Applications step, click Create Transformation Project.
- In the Create Transformation Project panel, specify Source Database Type, Destination Database Type, Destination Database Version, and Architecture, upload a data file, and then click Create.
- If you create a migration project, you need to run the built-in analysis program of
ADAM. This process takes 1 to 10 minutes.
- If the destination database is a PolarDB O Edition database, automatic transformation is supported.
- If the destination database is an ApsaraDB RDS for MySQL, AnalyticDB for PostgreSQL, or PolarDB-X database, SQL statements can be displayed, but cannot be automatically transformed.
Details of static application transformation
The details of the static application transformation include the following sections in the console: Project Summary, Transformation Overview, and Transform Applications.
The Project Summary section describes the basic information of a transformation project.
The Transformation Overview section displays the types and transformation methods of code blocks.
Transformation types of code blocks
- Not Required: The code blocks can run in the destination database without transformation.
- Automatic: The code blocks are transformed by ADAM. You only need to replace them and run the transformed code blocks in the destination database.
- Manual: The transformation requirements of the code blocks are listed. You must manually transform these code blocks.
- SQL Unrecognized: The SQL statements in the code blocks cannot be identified because the SQL statements are invalid or code blocks are run in a special way.
Types of code blocks
- select: the code blocks of the SELECT type
- insert: the code blocks of the INSERT type
- update: the code blocks of the UPDATE type
- procedure: the code blocks of stored procedures
- delete: the code blocks of the DELETE type
- statement: the code blocks executed by statements
Click Details in the Actions column to view the transformation details of code blocks.