You are migrating an on-premises Oracle Database (version 19c) to Oracle Autonomous Database (Serverless) using Oracle Data Pump. Which action is mandatory to ensure compatibility before generating the Data Pump export dump file?
Trap 1: Disable Automatic Workload Repository (AWR) collection on the…
Data Pump export does not require disabling AWR; Autonomous Database simply ignores or rejects AWR-dependent export content, and AWR is a performance repository unrelated to dump compatibility. It is tempting because AWR is a source-side feature, and disabling it would be correct when reducing overhead during a resource-constrained export window.
Trap 2: Convert the source database into an Oracle Multitenant Container…
Data Pump migrates schemas into Autonomous Database, which is itself multitenant; converting the source to a container with one PDB is unnecessary for export compatibility. It is tempting because Autonomous Database runs as a PDB, and this conversion would be correct when using remote cloning or PDB unplug/plug migration instead.
Trap 3: Manually drop all custom triggers and indexes to prevent import…
Custom triggers and indexes import normally into Autonomous Database; dropping them is not mandatory and would lose schema objects. It is tempting because some invalid objects do fail import, and dropping and recreating them would be correct when a specific trigger references unsupported features or unavailable paths.
- A
Disable Automatic Workload Repository (AWR) collection on the source database
Why it fails: Data Pump export does not require disabling AWR; Autonomous Database simply ignores or rejects AWR-dependent export content, and AWR is a performance repository unrelated to dump compatibility. It is tempting because AWR is a source-side feature, and disabling it would be correct when reducing overhead during a resource-constrained export window.
- B
Convert the source database into an Oracle Multitenant Container Database with a single pluggable database
Why it fails: Data Pump migrates schemas into Autonomous Database, which is itself multitenant; converting the source to a container with one PDB is unnecessary for export compatibility. It is tempting because Autonomous Database runs as a PDB, and this conversion would be correct when using remote cloning or PDB unplug/plug migration instead.
- C
Run the DBMS_CLOUD.PREPARE_FOR_AUTONOMOUS PL/SQL package on the source database
Correct. This package performs necessary pre-checks and transformations to ensure compatibility with Autonomous Database.
- D
Manually drop all custom triggers and indexes to prevent import failures
Why it fails: Custom triggers and indexes import normally into Autonomous Database; dropping them is not mandatory and would lose schema objects. It is tempting because some invalid objects do fail import, and dropping and recreating them would be correct when a specific trigger references unsupported features or unavailable paths.