Oracle Zero Downtime Migration (ZDM) is Oracle's tool for moving Oracle databases to Oracle Cloud, Exadata and multicloud targets. This Q&A covers the questions DBAs ask most often, from the basics to zdmcli commands. Every answer has been checked against Oracle's official ZDM 26.1 documentation (April 2026).
Section 1: ZDM Basics
Q1. What is Oracle Zero Downtime Migration (ZDM)?
Answer: ZDM is Oracle's free, fully automated database migration solution. It runs as a command-line service (zdmcli) on a dedicated Linux host called the ZDM service host. It follows Oracle Maximum Availability Architecture (MAA) best practices and drives Oracle tools such as RMAN, Data Guard, Data Pump and GoldenGate for you. Migration jobs can be resumed, and you can migrate one database or a whole fleet.
Q2. What is the latest ZDM release?
Answer: The latest release is ZDM 26.1, released in April 2026. The release before it was ZDM 21.5.
Q3. Is ZDM a licensed product?
Answer: No. ZDM itself is free to use. Logical online migrations also use Oracle GoldenGate. For OCI targets you can use the GoldenGate license from the Oracle Cloud Marketplace. For Oracle Database@Azure, @Google Cloud and @AWS you can use the "GoldenGate for Multicloud Database Migrations" container image.
Q4. Which targets can ZDM migrate to?
Answer: Supported targets include:
- Oracle Base Database Service (VM/BM)
- Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D)
- Exadata Database Service on Cloud@Customer (ExaDB-C@C)
- Exadata Database Service on Exascale Infrastructure (ExaDB-XS). Physical migration to ExaDB-XS is new in 26.1.
- Oracle Autonomous Database
- On-premises Exadata
- Oracle Database@Azure, Oracle Database@Google Cloud and Oracle Database@AWS
Q5. Which sources does ZDM support?
Answer: Oracle databases on-premises, OCI co-managed databases and AWS RDS for Oracle (logical migration only). Support depends on the source OS:
- Linux x86-64: all migration methods
- IBM AIX and Oracle Solaris SPARC (64-bit): logical migration only
- Windows: logical migration only, using the no-SSH access method (new in 26.1)
Q6. Which Oracle Database versions does ZDM support?
Answer: 11.2.0.4, 12.1.0.2, 12.2.0.1, 18c, 19c, 21c, Oracle AI Database 26ai and later releases. Note the following:
- Physical migration normally expects the source and target to be on the same release. The exceptions are the supported in-flight upgrade paths, such as 11.2.0.4 to 12.1.0.2 or 19c (using a temporary auxiliary database) and 19c to 26ai.
- To do an online migration to 26ai from a source older than 19c, you need two steps: first migrate to 19c, then from 19c to 26ai.
Section 2: Migration Methods
Q7. What migration methods does ZDM offer?
| Method | Downtime | Underlying technology |
|---|---|---|
| Physical Online | Minimal (typically under 15 minutes) | RMAN + Data Guard (or PDB cloning) |
| Physical Offline | Source down during migration | RMAN backup/restore (or PDB cloning) |
| Logical Online | Minimal (typically under 15 minutes) | Data Pump + GoldenGate |
| Logical Offline | Source unavailable during migration | Data Pump |
| Hybrid (Offline) | Offline | RMAN Transportable Tablespaces (data) + Data Pump (metadata) |
Q8. How does a Physical Online migration work?
Answer: ZDM backs up the source and creates a standby database on the target. It then configures Data Guard in Maximum Performance mode with ASYNC redo transport, keeps the standby in sync, and finally performs a switchover. Fallback to the source is possible only if SQL*Net connectivity exists between the new primary and the new standby, and you must perform it manually.
Q9. How is Physical Offline different from Physical Online?
Answer: Physical Offline is a plain backup and restore, much like cloning. There is no Data Guard, no ongoing synchronization and no fallback. It also does not need SQL*Net connectivity between the source and target servers. The source database has downtime for the whole migration.
Q10. How does a Logical Online migration work?
Answer: ZDM loads the target with Oracle Data Pump. Oracle GoldenGate then replicates ongoing changes from source to target until you switch your applications over. This method is useful for cross-platform moves (for example AIX or Solaris to Linux) and for Autonomous Database targets.
Q11. What is the Hybrid migration method?
Answer: Hybrid is an offline method. It moves the data with RMAN incremental backup and restore of transportable tablespaces and moves the metadata with Data Pump. It currently uses NFS as the data transfer medium (XTTS_OFFLINE).
Q12. Which data transfer media can physical migrations use?
Answer: OCI Object Storage, Zero Data Loss Recovery Appliance (ZDLRA), NFS, direct restore from service, and database link (for PDB cloning).
Q13. Can ZDM migrate Standard Edition databases?
Answer: Yes. For physical migrations, Standard Edition supports only the offline method, because the online method relies on Data Guard. Enterprise Edition supports both online and offline methods.
Q14. Can ZDM convert a non-CDB to a PDB during migration?
Answer: Yes. ZDM can convert a non-multitenant (non-CDB) source into a PDB in a multitenant (CDB) target as part of the migration.
Section 3: ZDM Service Host and Instant Deploy
Q15. What are the ZDM service host OS requirements?
Answer: Supported operating systems for the service host:
- Oracle Linux 7, 8 and 9 (x86-64)
- Red Hat Enterprise Linux 8 and 9 (x86-64)
The host can be on-premises or an OCI Linux compute instance, and it can be shared with other applications. Oracle's step-by-step guides recommend at least 100 GB of free storage for ZDM logs.
Q16. What is Instant Deploy in ZDM 26.1?
Answer: Instant Deploy, new in ZDM 26.1, is a no-install option. You download the ZDM kit directly to the database host, unzip it and run zdmcli migrate. You do not need to set up a separate ZDM service host.
Section 4: Running and Managing Jobs with zdmcli
Q17. How do you run a dry run before the real migration?
Answer: Add -eval to zdmcli migrate database. ZDM runs only the validation and precheck phases and does not actually migrate the source to the target.
zdmuser> $ZDM_HOME/bin/zdmcli migrate database -rsp /home/zdmuser/physical_online.rsp \
-sourcedb SRCDB -sourcenode srchost -srcauth zdmauth \
-srcarg1 user:opc -srcarg2 identity_file:/home/zdmuser/.ssh/id_rsa \
-targetnode tgthost -tgtauth zdmauth \
-tgtarg1 user:opc -tgtarg2 identity_file:/home/zdmuser/.ssh/id_rsa \
-eval
Q18. How do you check the status of a migration job?
zdmuser> $ZDM_HOME/bin/zdmcli query job -jobid 13
The output shows the current status (for example EXECUTING, PAUSED, FAILED or SUCCEEDED), the current phase, the path to the log file, and whether each phase is COMPLETED or PENDING.
Q19. How do you list the phases of a migration job?
Answer: Add -listphases to the zdmcli migrate database command.
Q20. How do you pause and resume a migration?
Answer: Use -pauseafter <phase> in the migrate command. For example, in a physical online migration, -pauseafter ZDM_CONFIGURE_DG_SRC pauses the job once Data Guard is in sync, so you can choose when to switch over. When you're ready, resume the job:
zdmuser> $ZDM_HOME/bin/zdmcli resume job -jobid 13
Q21. What is the difference between -pauseafter and -stopafter?
Answer: -pauseafter pauses the job, which you can resume later. -stopafter cuts the workflow short: once the given phase finishes, the job is marked completed, and you cannot resume it past that phase.
Q22. How do you stop a running job?
zdmuser> $ZDM_HOME/bin/zdmcli abort job -jobid 13
Section 5: Security and Prerequisites
Q23. Is TDE mandatory when migrating with ZDM?
Answer: For cloud migrations to Oracle Database 12.2 and later, TDE is mandatory. If the source uses TDE, the target uses TDE too. When the target is a non-cloud (on-premises) Exadata, you can skip TDE by setting ZDM_TDE_MANDATORY=FALSE in the response file.
Q24. Does the source database need an SPFILE?
Answer: For a physical online migration, yes: the source must run with an SPFILE. For an offline migration, ZDM also supports sources that don't use an SPFILE.
Q25. What if a migration fails partway through?
Answer: ZDM jobs can be resumed. Fix the cause shown in the job log, then run zdmcli resume job -jobid <id>. The job reruns from the point of failure, not from the beginning. ZDM also supports custom scripts (user actions) that run before or after any phase.
Quick Revision
- Latest release: ZDM 26.1 (April 2026). ZDM is free.
- Online methods: typically under 15 minutes of downtime.
- Physical = RMAN + Data Guard. Logical = Data Pump + GoldenGate. Hybrid = RMAN XTTS + Data Pump.
- Physical migrations on Standard Edition: offline only.
- AIX, Solaris and Windows sources: logical migration only.
- Key commands:
-eval,-listphases,-pauseafter,query job,resume job,abort job.
Reference: Oracle Zero Downtime Migration 26.1 documentation and release notes (docs.oracle.com).
ConversionConversion EmoticonEmoticon