Migrate the Data
You can use a configuration file or individual mv2adb
commands to define the options and parameters needed to migrate the
data to the cloud. The configuration file is the preferred method. Before migrating, review
the Schema Advisor Report.
Create and Analyze the Schema Advisor Report
Create a report for each schema to determine if you can transfer the data into an autonomous database in the cloud and which database objects are problematic.
Oracle Autonomous Database (ADB) Schema Advisor is a light-weight utility that analyzes your on-premises Oracle Database schemas. The Advisor discovers the schema objects and performs a deep analysis to highlight the differences when the object is created on an Oracle Autonomous Data Warehouse database, including why an object can't be created.
Run the advisor on an existing schema to generate a report that provides the following information:
- A count of discovered objects and a summary of the migration status.
- A list of objects that can't be migrated to the Autonomous Database due to restrictions or lockdowns imposed on certain data types, Oracle Database options and SQL.
- A list of objects that will migrate with modifications automatically done during the import or the object creation process.
- An information section that includes best practice recommendations and guidance
The advisor is installed as part of the MV2ADB software installation.
Advisor command options are:
mv2adb advisor {--conf <conf file path>[--nosudo]} |
{--ohome <Local ORACLE_HOME> | --ichome <Local Oracle Instant Client Home>
--dbcs <Source DB connect string>
--schemas <comma separated database schemas to report>
--adbtarget <ADW|ADWD|ATP|ATPD> | --adbname <ADB database name> --adbcfile <ADB credential zip file>
[--nosudo]}
Migrate the Data by Using a Configuration File
After you define the source and target databases and parameters in the
configuration file, issue the command mv2adb auto
to export
the data from your on-premises database, upload the data to Oracle Cloud
Infrastructure Object Storage, and then transfer it to Oracle Autonomous Database in the cloud with a single
click.
expdp
) for each schema defined in the file, uploads the data
to Oracle Cloud
Infrastructure Object Storage, then performs the Oracle Data Pump import (impdp
) into your
autonomous database in the cloud.
Migrate the Data Without Using a Configuration File
If you don't want to use a configuration file method of migration process, then you can use a 3-step command-line interface process to define the parameters and run the migration in steps.
Verify the Migration
Use the report to generate a schema object report to compare the results of the Oracle Data Pump export and import.
The following are the report parameters:
mv2adb report {--conf <conf file path>[--nosudo]} |
{--dbcs <Source DB connect string>
--schemas <Database schemas to report>}
--ohome <Local ORACLE_HOME> | --ichome <Local Oracle Instant Client Home>
--adbname <ADB database name>
--adbcfile <ADB credential zip file>
[--nosudo]}